This is an automated email from the git hooks/post-receive script. tille pushed a commit to branch master in repository fsa.
commit 8fa3230f60cd9b03eb737812492ffd927f4476a6 Author: Andreas Tille <ti...@debian.org> Date: Mon Aug 18 12:23:08 2014 +0000 Use help2man for manpages; tools without manpage currently are just throwing SIGSEGV - need to contact upstream --- debian/control | 3 ++- debian/createmanpages | 16 ---------------- debian/rules | 48 +++++++++++++++++++++++++++++++++--------------- 3 files changed, 35 insertions(+), 32 deletions(-) diff --git a/debian/control b/debian/control index dc27f39..110b64e 100644 --- a/debian/control +++ b/debian/control @@ -4,7 +4,8 @@ Priority: optional Maintainer: Debian Med Packaging Team <debian-med-packag...@lists.alioth.debian.org> Uploaders: Andreas Tille <ti...@debian.org> Build-Depends: debhelper (>= 9), - dh-autoreconf + dh-autoreconf, + help2man Standards-Version: 3.9.5 Vcs-Browser: http://anonscm.debian.org/viewvc/debian-med/trunk/packages/fsa/trunk/ Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/fsa/trunk/ diff --git a/debian/createmanpages b/debian/createmanpages deleted file mode 100755 index febcd91..0000000 --- a/debian/createmanpages +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh -MANDIR=debian -mkdir -p $MANDIR - -VERSION=`dpkg-parsechangelog | awk '/^Version:/ {print $2}' | sed -e 's/^[0-9]*://' -e 's/-.*//' -e 's/[+~]dfsg$//'` - -help2man --no-info --no-discard-stderr --help-option=" " \ - --name='<optional description of the program>' \ - --version-string="$VERSION" <programname> > $MANDIR/<programname>.1 - -cat <<EOT -Please enhance the help2man output. -The following web page might be helpful in doing so: - http://liw.fi/manpages/ -EOT - diff --git a/debian/rules b/debian/rules index c678330..c950af8 100755 --- a/debian/rules +++ b/debian/rules @@ -2,19 +2,13 @@ # DH_VERBOSE := 1 -# some helpful variables - uncomment them if needed -# shamelessly stolen from http://jmtd.net/log/awk/ -#DEBVERS := $(shell dpkg-parsechangelog | awk '/^Version:/ {print $$2}') -#VERSION := $(shell echo '$(DEBVERS)' | sed -e 's/^[0-9]*://' -e 's/-.*//') -#DEBFLAVOR := $(shell dpkg-parsechangelog | awk '/^Distribution:/ {print $$2}') -#DEBPKGNAME := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}') -#DEBIAN_BRANCH := $(shell awk 'BEGIN{FS="[= ]+"} /debian-branch/ {print $$2}' debian/gbp.conf) -#GIT_TAG := $(subst ~,_,$(VERSION)) - -# alternatively to manually set those variables you can -# include /usr/share/cdbs/1/rules/buildvars.mk -# and use what is set there. Any hint whether dh might set variables in -# a similar manner are welcome. +VERSION := $(shell dpkg-parsechangelog | grep Version: | cut -f2 -d' ' | cut -f1 -d- ) +DEBPKGNAME := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}') + +mandir=$(CURDIR)/debian/$(DEBPKGNAME)/usr/share/man/man1 +bindir=$(CURDIR)/debian/$(DEBPKGNAME)/usr/bin + +HELP2MAN = help2man --no-info --version-string="$(VERSION)" %: dh $@ --with autoreconf @@ -23,5 +17,29 @@ override_dh_auto_test: echo "Tests seem to miss some files:" echo "make[4]: *** No rule to make target 'apps/isect_d.unmappable.bash', needed by 'apps/isect_d.unmappable.bash.log'. Stop." -#get-orig-source: -# . debian/get-orig-source +override_dh_installman: + # try to create man pages whereever possible + mkdir -p $(mandir) + $(HELP2MAN) \ + --name='Distance-based alignment of DNA, RNA and proteins' \ + $(bindir)/fsa > $(mandir)/fsa.1 + $(HELP2MAN) \ + --name='Find the most-parsimonious ordering of indels' \ + $(bindir)/gapcleaner > $(mandir)/gapcleaner.1 + $(HELP2MAN) \ + --name='Calculate the percentage identity of the passed alignment' \ + $(bindir)/percentid > $(mandir)/percentid.1 + $(HELP2MAN) \ + --name='Find the codon alignment corresponding to the given protein alignment' \ + $(bindir)/prot2codon > $(mandir)/prot2codon.1 + $(HELP2MAN) \ + --name='Slice a subsequence from an input FASTA file' \ + $(bindir)/slice_fasta > $(mandir)/slice_fasta.1 + $(HELP2MAN) \ + --name='Slice subsequences from an input FASTA file' \ + $(bindir)/slice_fasta_gff > $(mandir)/slice_fasta_gff.1 + $(HELP2MAN) \ + --name='Translate input nucleotide sequences into protein sequence.' \ + $(bindir)/translate > $(mandir)/translate.1 + + -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/fsa.git _______________________________________________ debian-med-commit mailing list debian-med-commit@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit