[DRE-commits] [ruby-parser] 08/10: override dh_installman
Cédric Boutillier
boutil at moszumanska.debian.org
Fri Feb 28 12:32:11 UTC 2014
This is an automated email from the git hooks/post-receive script.
boutil pushed a commit to branch master
in repository ruby-parser.
commit f9f9370b7047323e224f66a18c51f3cd7828033e
Author: Cédric Boutillier <boutil at debian.org>
Date: Wed Dec 25 23:35:46 2013 +0100
override dh_installman
---
debian/rules | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/debian/rules b/debian/rules
index 6b3f684..2caac0d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,13 +11,17 @@
# If you need to specify the .gemspec (eg there is more than one)
#export DH_RUBY_GEMSPEC=gem.gemspec
+DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -rne 's/^Version: ([^+]+).*/\1/p')
+
%:
dh $@ --buildsystem=ruby --with ruby
+override_dh_installman:
+ pod2man --section=1 --release="ruby_parser-$(DEB_UPSTREAM_VERSION)" \
+ --utf8 --center="Debian GNU System" debian/ruby_parse.1.pod debian/ruby_parse.1
+ dh_installman
+
override_dh_build:
dh_build
- pod2man --section=1 --release="ruby_parser-2.2.0" \
- --center="Debian GNU System" debian/ruby_parse.1.pod \
- >debian/ruby_parse.1
rm debian/ruby-parser/usr/bin/ruby_parse_extract_error
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-parser.git
More information about the Pkg-ruby-extras-commits
mailing list