[voronota] 01/02: Using help2man to generate missing manual pages.
Andrius Merkys
merkys-guest at moszumanska.debian.org
Mon Oct 16 07:09:59 UTC 2017
This is an automated email from the git hooks/post-receive script.
merkys-guest pushed a commit to branch master
in repository voronota.
commit e8d33ca533d51089770316199b1565896144770a
Author: Andrius Merkys <andrius.merkys at gmail.com>
Date: Mon Oct 16 10:04:19 2017 +0300
Using help2man to generate missing manual pages.
---
debian/rules | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/debian/rules b/debian/rules
index 5b93ed0..45d4bf3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,10 +13,23 @@
# package maintainers to append LDFLAGS
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+GENERATED_MAN_FILES = voronota.1 voronota-cadscore.1 \
+ voronota-contacts.1 voronota-volumes.1 voronota-voromqa.1
+MAN_FILES = ${GENERATED_MAN_FILES} # voronota.man
+
+DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p')
%:
dh $@ --with autotools_dev
+override_dh_installman: ${MAN_FILES}
+ dh_installman $+
+
+%.1: %
+ help2man ./$* --no-discard-stderr --no-info --version-string ${DEB_UPSTREAM_VERSION} > $@
+
+clean:
+ rm -f ${GENERATED_MAN_FILES}
# dh_make generated override targets
# This is example for Cmake (See https://bugs.debian.org/641051 )
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/voronota.git
More information about the debian-science-commits
mailing list