[med-svn] [iqtree] 02/02: Add manpages for iqtree-omp

Andreas Tille tille at debian.org
Thu Sep 10 07:17:29 UTC 2015


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository iqtree.

commit 2ee2ab45867b3454f07a9b28fad562e1748034af
Author: Andreas Tille <tille at debian.org>
Date:   Thu Sep 10 09:07:48 2015 +0200

    Add manpages for iqtree-omp
---
 debian/rules | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/debian/rules b/debian/rules
index 0d96cd4..597a72c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,6 +5,7 @@
 pkg := $(shell dpkg-parsechangelog | sed -n 's/^Source: //p')
 version=$(shell dpkg-parsechangelog -ldebian/changelog | grep Version: | cut -f2 -d' ' | cut -f1 -d- )
 mandir=$(CURDIR)/debian/$(pkg)/usr/share/man/man1/
+tmpompdir=$(CURDIR)/debian/tmp-omp/usr/bin
 
 %:
 	dh $@
@@ -15,8 +16,8 @@ override_dh_auto_configure:
 
 override_dh_auto_build:
 	dh_auto_build
-	mkdir -p debian/tmp/usr/bin
-	cp -a `find $(CURDIR) -name iqtree-omp -type f -executable` debian/tmp/usr/bin
+	mkdir -p $(tmpompdir)
+	cp -a `find $(CURDIR) -name iqtree-omp -type f -executable` $(tmpompdir)
 	# build again without OMP
 	dh_auto_clean
 	dh_auto_configure
@@ -26,7 +27,7 @@ override_dh_auto_install:
 	dh_auto_install
 	# upstream confirms models.nex is not needed but a simple example
 	find debian -name models.nex -delete
-	mv debian/tmp/usr/bin/iqtree-omp debian/$(pkg)/usr/bin
+	mv $(tmpompdir)/iqtree-omp debian/$(pkg)/usr/bin
 
 override_dh_installdocs:
 	dh_installdocs
@@ -38,6 +39,9 @@ override_dh_installman:
 	help2man --no-info --no-discard-stderr --help-option="-h" \
 	    --name='efficient phylogenetic software by maximum likelihood' \
 	    --version-string="$(version)" $(CURDIR)/debian/$(pkg)/usr/bin/iqtree > $(mandir)/iqtree.1
+	help2man --no-info --no-discard-stderr --help-option="-h" \
+	    --name='efficient phylogenetic software by maximum likelihood (multiprocessor version)' \
+	    --version-string="$(version)" $(CURDIR)/debian/$(pkg)/usr/bin/iqtree-omp > $(mandir)/iqtree-omp.1
 
 override_dh_auto_test:
 	# use only the first example for build time test to save time on autobuilders
@@ -46,7 +50,7 @@ override_dh_auto_test:
 #		ln -s iqtree-omp `dirname $$iqtreeomp`/iqtree ; \
 #	fi
 	sed '/ myprefix/,$$d' debian/Documents_source/example.sh > example.short
-	echo 'time $(CURDIR)/debian/tmp/usr/bin/iqtree-omp -s example.phy -omp 2' >> example.short
+	echo 'time $(tmpompdir)/iqtree-omp -s example.phy -omp 2' >> example.short
 	time sh example.short
 	rm example.short
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/iqtree.git



More information about the debian-med-commit mailing list