[med-svn] [fermi-lite] 06/09: add man page building
Sascha Steinbiss
satta at debian.org
Thu Jul 28 22:24:54 UTC 2016
This is an automated email from the git hooks/post-receive script.
satta pushed a commit to branch master
in repository fermi-lite.
commit 5d418d52d6028b9f47905666972ff0c1bf7b2ddd
Author: Sascha Steinbiss <satta at debian.org>
Date: Thu Jul 28 22:17:06 2016 +0000
add man page building
---
debian/control | 3 ++-
debian/manpages | 1 +
debian/rules | 10 ++++++++++
3 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/debian/control b/debian/control
index cde39f2..296d3f0 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,8 @@ Section: science
Priority: optional
Build-Depends: debhelper (>= 9),
d-shlibs,
- zlib1g-dev
+ zlib1g-dev,
+ help2man
Standards-Version: 3.9.8
Testsuite: autopkgtest
Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/fermi-lite.git
diff --git a/debian/manpages b/debian/manpages
new file mode 100644
index 0000000..f7e585b
--- /dev/null
+++ b/debian/manpages
@@ -0,0 +1 @@
+*.1
diff --git a/debian/rules b/debian/rules
index 68adc0c..d459b19 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,6 +5,10 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow
%:
dh $@
+override_dh_auto_clean:
+ dh_auto_clean
+ rm -f fml-asm.1
+
override_dh_auto_install:
ln -s libfml.so.* libfml.so
d-shlibmove --commit \
@@ -12,3 +16,9 @@ override_dh_auto_install:
--devunversioned \
--movedev "fml.h" /usr/include/ \
libfml.so
+
+override_dh_installman:
+ help2man --version-string='0.1' \
+ -n 'assemble Illumina short reads in small regions' \
+ -N --no-discard-stderr -h '' ./fml-asm > fml-asm.1
+ dh_installman
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/fermi-lite.git
More information about the debian-med-commit
mailing list