[med-svn] [Git][med-team/mmseqs2][master] Fix some pathing for different archs
Shayan Doust
gitlab at salsa.debian.org
Sun Oct 20 22:32:49 BST 2019
Shayan Doust pushed to branch master at Debian Med / mmseqs2
Commits:
d2c47fb2 by Shayan Doust at 2019-10-20T21:32:15Z
Fix some pathing for different archs
- - - - -
2 changed files:
- debian/mmseqs2.install
- debian/rules
Changes:
=====================================
debian/mmseqs2.install
=====================================
@@ -1,4 +1,3 @@
-obj-x86_64-linux-gnu/src/test usr/lib/mmseqs2
util/bash-completion.sh usr/share/mmseqs2
README.md usr/share/doc/mmseqs2
debian/missing-sources/userguide/userguide.pdf usr/share/doc/mmseqs2
=====================================
debian/rules
=====================================
@@ -7,14 +7,18 @@ include /usr/share/dpkg/default.mk
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+
%:
dh $@
override_dh_install:
dh_install
+ mkdir -p debian/mmseqs2/usr/lib/mmseqs2/test
cp src/test/*.index debian/mmseqs2/usr/lib/mmseqs2/test
cp src/test/dataGap debian/mmseqs2/usr/lib/mmseqs2/test
cp src/test/dataLinear debian/mmseqs2/usr/lib/mmseqs2/test
+ cp -r obj-$(DEB_HOST_MULTIARCH)/src/test debian/mmseqs2/usr/lib/mmseqs2
# We also remove unneeded files & folders like CMake
rm -r debian/mmseqs2/usr/lib/mmseqs2/test/CMakeFiles \
@@ -22,4 +26,4 @@ override_dh_install:
debian/mmseqs2/usr/lib/mmseqs2/test/Makefile \
debian/mmseqs2-examples/usr/share/doc/mmseqs2/example-data/*.lib \
debian/mmseqs2-examples/usr/share/doc/mmseqs2/example-data/CovSeqidQscPercMinDiag.out \
- debian/mmseqs2-examples/usr/share/doc/mmseqs2/example-data/CovSeqidQscPercMinDiagTargetCov.out
+ debian/mmseqs2-examples/usr/share/doc/mmseqs2/example-data/CovSeqidQscPercMinDiagTargetCov.out || true
View it on GitLab: https://salsa.debian.org/med-team/mmseqs2/commit/d2c47fb266c5972ca9c23102976f84efe9e86bdf
--
View it on GitLab: https://salsa.debian.org/med-team/mmseqs2/commit/d2c47fb266c5972ca9c23102976f84efe9e86bdf
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20191020/64a920a2/attachment-0001.html>
More information about the debian-med-commit
mailing list