[med-svn] [repeatmasker-recon] 04/05: generate man pages
Olivier Sallou
osallou at debian.org
Sat Aug 22 07:13:28 UTC 2015
This is an automated email from the git hooks/post-receive script.
osallou pushed a commit to branch master
in repository repeatmasker-recon.
commit d94fbbbb079af2aaad90b976a204ef1041845cac
Author: Olivier Sallou <osallou at debian.org>
Date: Sat Aug 22 07:04:30 2015 +0000
generate man pages
---
debian/changelog | 4 +---
debian/repeatmasker-recon.manpages | 7 +++++++
debian/rules | 20 ++++++++++++++++----
3 files changed, 24 insertions(+), 7 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 918fdf6..5d5baa4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,7 @@
repeatmasker-recon (1.08-1) unstable; urgency=low
- * Initial release (Closes: #XX)
+ * Initial release (Closes: # 796487)
[ TODO ]
d/watch
- ITP
- manpages?
-- Olivier Sallou <osallou at debian.org> Mon, 21 Aug 2015 10:57:33 +0000
diff --git a/debian/repeatmasker-recon.manpages b/debian/repeatmasker-recon.manpages
new file mode 100644
index 0000000..d25b3e4
--- /dev/null
+++ b/debian/repeatmasker-recon.manpages
@@ -0,0 +1,7 @@
+repeatmasker-recon.1
+MSPCollect.1
+edgeredef.1
+eledef.1
+eleredef.1
+famdef.1
+imagespread.1
diff --git a/debian/rules b/debian/rules
index 6a97a55..0519074 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,6 +16,9 @@ include /usr/share/dpkg/default.mk
# package maintainers to append LDFLAGS
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+DEB_UPSTREAM_VERSION ?= $(shell dpkg-parsechangelog \
+ | sed -rne 's/^Version: ([0-9.]+)[-+].*$$/\1/p')
+
# main packaging script based on dh7 syntax
%:
@@ -30,13 +33,22 @@ override_dh_auto_install:
dh_install
cp scripts/recon.pl debian/repeatmasker-recon/usr/bin/repeatmasker-recon
cp scripts/MSPCollect.pl debian/repeatmasker-recon/usr/bin/MSPCollect
+
+
+override_dh_installman:
+ help2man --version-string=$(DEB_UPSTREAM_VERSION) --no-discard-stderr debian/repeatmasker-recon/usr/bin/repeatmasker-recon > repeatmasker-recon.1
+ help2man --version-string=$(DEB_UPSTREAM_VERSION) --no-discard-stderr debian/repeatmasker-recon/usr/bin/MSPCollect > MSPCollect.1
+ help2man --version-string=$(DEB_UPSTREAM_VERSION) --no-discard-stderr debian/repeatmasker-recon/usr/bin/edgeredef > edgeredef.1
+ help2man --version-string=$(DEB_UPSTREAM_VERSION) --no-discard-stderr debian/repeatmasker-recon/usr/bin/eledef > eledef.1
+ help2man --version-string=$(DEB_UPSTREAM_VERSION) --no-discard-stderr debian/repeatmasker-recon/usr/bin/eleredef > eleredef.1
+ help2man --version-string=$(DEB_UPSTREAM_VERSION) --no-discard-stderr debian/repeatmasker-recon/usr/bin/famdef > famdef.1
+ help2man --version-string=$(DEB_UPSTREAM_VERSION) --no-discard-stderr debian/repeatmasker-recon/usr/bin/imagespread > imagespread.1
+
+ dh_installman
override_dh_clean:
cd src; make clean
rm -rf bin
+ rm -f *.1
dh_clean
-
-override_dh_installman:
- #help2man --no-discard-stderr ./bio-rainbow > bio-rainbow.1
- dh_installman
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/repeatmasker-recon.git
More information about the debian-med-commit
mailing list