[med-svn] [Git][med-team/hmmer2][master] 2 commits: Cleanup testsuite after test before installing it as example
Andreas Tille
gitlab at salsa.debian.org
Fri Jan 11 20:55:12 GMT 2019
Andreas Tille pushed to branch master at Debian Med / hmmer2
Commits:
0fdf55ab by Andreas Tille at 2019-01-11T19:58:58Z
Cleanup testsuite after test before installing it as example
- - - - -
d2f4e30e by Andreas Tille at 2019-01-11T20:54:02Z
Fix installation of manpages
- - - - -
3 changed files:
- + debian/patches/fix_install_man.patch
- debian/patches/series
- debian/rules
Changes:
=====================================
debian/patches/fix_install_man.patch
=====================================
@@ -0,0 +1,17 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Fri, 11 Jan 2019 15:43:07 +0100
+Description: Fix installation of manpages
+
+--- a/Makefile
++++ b/Makefile
+@@ -60,8 +60,8 @@ install:
+ for file in $(PROGS) ; do\
+ cp src/$$file "$(BINDIR)/$$file""$(PROGSUFFIX)" ;\
+ done
+- for file in hmmer2 $(ls documentation/man/); do\
+- install -D documentation/man/$$file.man $(MANDIR)/man$(MANSUFFIX)/$$file.$(MANSUFFIX);\
++ for file in documentation/man/*.man ; do\
++ install -D $$file $(MANDIR)/man$(MANSUFFIX)/`basename $$file .man`.$(MANSUFFIX);\
+ done
+
+ # Reverses the steps of "make install". However, this should be handled
=====================================
debian/patches/series
=====================================
@@ -4,3 +4,4 @@ fix_typo.patch
fix_install.patch
hardening.patch
#static_lib.patch
+fix_install_man.patch
=====================================
debian/rules
=====================================
@@ -33,12 +33,14 @@ override_dh_auto_install:
rename 's/^hmm(.+)2/hmm2$$1/;' $(CURDIR)/debian/tmp/bin/*
cd $(CURDIR)/debian/tmp/bin; rename 's/^hmm(.+)2/hmm2$$1/;' *
cd $(CURDIR)/debian/tmp/share/man/man1; rename 's/^hmm(.+)2/hmm2$$1/;' *
- # mv $(CURDIR)/debian/tmp/share/man/man1/hmm2er.1 $(CURDIR)/debian/tmp/share/man/man1/hmmer2.1
+ rename 's/^hmm(.+)2/hmm2$$1/;' $(CURDIR)/debian/tmp/share/man/man1/*
+ mv $(CURDIR)/debian/tmp/share/man/man1/hmm2er.1 $(CURDIR)/debian/tmp/share/man/man1/hmmer2.1
# lkajan: resolve man page hypen issue:
sed -i -e 's/--/\\-\\-/g;s/-\([[:alpha:]]\)\b/\\-\1/g;' $(CURDIR)/debian/tmp/share/man/man1/*
override_dh_installexamples:
dh_installexamples
+ cd testsuite && make clean
mkdir -p $(sampledir);
sed -i "s#hmm#hmm2#g" testsuite/exercises.sqc
rm -f testsuite/*.ssi;
View it on GitLab: https://salsa.debian.org/med-team/hmmer2/compare/d6aae46c87b1306f95e80e033411d66eb8e67f73...d2f4e30e7bdd4e2535f29c05964940b3150aa62a
--
View it on GitLab: https://salsa.debian.org/med-team/hmmer2/compare/d6aae46c87b1306f95e80e033411d66eb8e67f73...d2f4e30e7bdd4e2535f29c05964940b3150aa62a
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/20190111/c9473354/attachment-0001.html>
More information about the debian-med-commit
mailing list