[DRE-commits] [ruby-heckle] 08/15: fix help2man command to generate the man page
Cédric Boutillier
boutil at moszumanska.debian.org
Thu Dec 19 13:39:34 UTC 2013
This is an automated email from the git hooks/post-receive script.
boutil pushed a commit to branch master
in repository ruby-heckle.
commit 93a99a2e27e601d9a168ed96b53197e0ffb17a75
Author: Cédric Boutillier <boutil at debian.org>
Date: Thu Dec 19 13:49:38 2013 +0100
fix help2man command to generate the man page
---
debian/rules | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index b6ee7e8..2dbab31 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,13 +11,15 @@
# If you need to specify the .gemspec (eg there is more than one)
#export DH_RUBY_GEMSPEC=gem.gemspec
+UPSTREAM_VERSION = $(shell dpkg-parsechangelog | awk '{ if ($$1 == "Version:") { print($$2) } }' | cut -d - -f 1)
+
%:
dh $@ --buildsystem=ruby --with ruby
override_dh_installman:
# Generate manpage:
INLINEDIR=. help2man --no-info --include=debian/heckle.h2m \
- -h "bin/heckle -h" -v "bin/heckle -V" /usr/bin/ruby1.8 >heckle.1
+ -h "-I lib/ bin/heckle -h" --version-string $(UPSTREAM_VERSION) /usr/bin/ruby >heckle.1
patch heckle.1 <debian/heckle.1.diff
dh_installman
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-heckle.git
More information about the Pkg-ruby-extras-commits
mailing list