[med-svn] [phast] 01/01: use Debian packaged help2man
Andreas Tille
tille at debian.org
Sat Jun 4 09:02:34 UTC 2016
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository phast.
commit 08c8ee506f2d1ae404cea96af89cd07a8f91b8af
Author: Andreas Tille <tille at debian.org>
Date: Sat Jun 4 10:48:56 2016 +0200
use Debian packaged help2man
---
debian/control | 3 ++-
debian/patches/series | 1 +
debian/patches/use_debian_packaged_help2man.patch | 17 +++++++++++++++++
3 files changed, 20 insertions(+), 1 deletion(-)
diff --git a/debian/control b/debian/control
index dff6536..42e72ea 100644
--- a/debian/control
+++ b/debian/control
@@ -8,7 +8,8 @@ Build-Depends: debhelper (>= 9),
libclapack-dev,
libcblas-dev,
libctmg-dev,
- libpcre3-dev
+ libpcre3-dev,
+ help2man
Standards-Version: 3.9.8
Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/phast.git
Vcs-Git: https://anonscm.debian.org/git/debian-med/phast.git
diff --git a/debian/patches/series b/debian/patches/series
index ec0fbad..bdd704a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ clapack.patch
do_not_install_to_opt.patch
use_debian_packaged_libpcre.patch
fix_include.patch
+use_debian_packaged_help2man.patch
diff --git a/debian/patches/use_debian_packaged_help2man.patch b/debian/patches/use_debian_packaged_help2man.patch
new file mode 100644
index 0000000..bef0ceb
--- /dev/null
+++ b/debian/patches/use_debian_packaged_help2man.patch
@@ -0,0 +1,17 @@
+--- a/src/Makefile
++++ b/src/Makefile
+@@ -12,7 +12,7 @@ ifeq ($(TARGETOS), Windows)
+ else
+ mkdir -p ../doc/man/
+ @echo "Generating man pages..."
+- @for file in `ls ../bin` ; do perl help2man.pl ../bin/$$file ../doc/man/ ; done
++ @for file in `ls ../bin` ; do help2man --no-info --no-discard-stderr --version-string="$(PHAST_VERSION)" ../bin/$$file > ../doc/man/$${file}.1 ; done
+ @echo "Done."
+ endif
+
+@@ -41,4 +41,4 @@ clean:
+ rm -rf ../bin ../lib ../doc
+
+ manpages:
+- @for file in `ls ../bin` ; do perl help2man.pl ../bin/$$file ; done
++ @for file in `ls ../bin` ; do help2man --no-info --no-discard-stderr --version-string="$(PHAST_VERSION)" ../bin/$$file > ../doc/man/$${file}.1 ; done
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/phast.git
More information about the debian-med-commit
mailing list