[DRE-commits] [SCM] cucumber.git branch, master, updated. debian/1.0.2-1-2-gccf763b
Antonio Terceiro
terceiro at softwarelivre.org
Fri Sep 9 04:38:01 UTC 2011
The following commit has been merged in the master branch:
commit 220d88b87ec9973281e1dba7490acc0f3a864a5e
Author: Antonio Terceiro <terceiro at softwarelivre.org>
Date: Sat Aug 13 18:35:59 2011 -0700
Add a simple manpage
diff --git a/debian/cucumber.pod b/debian/cucumber.pod
new file mode 100644
index 0000000..04d2a54
--- /dev/null
+++ b/debian/cucumber.pod
@@ -0,0 +1,18 @@
+=head1 NAME
+
+cucumber
+
+=head1 USAGE
+
+cucumber [options] [ [FILE|DIR|URL][:LINE[:LINE]*] ]+
+
+=head1 OPTIONS
+
+See B<cucumber --help> for a list of available options.
+
+=head1 ABOUT
+
+This manpage was written for the Debian system by Antonio Terceiro
+<terceiro at debian.orb> because the original package does not have one.
+
+This manual is licensed under the same terms as cucumber itself.
diff --git a/debian/rules b/debian/rules
index 84f3870..37d75ee 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,6 +14,10 @@
%:
dh $@ --buildsystem=ruby --with ruby
+package_version=$(shell dpkg-parsechangelog | grep Version: | awk '{print $$2}')
+
override_dh_auto_install:
dh_auto_install
rm -r debian/cucumber/usr/lib/ruby/vendor_ruby/autotest
+ mkdir -p debian/cucumber/usr/share/man/man1
+ pod2man -n cucumber -r "cucumber $(package_version)" -c cucumber debian/cucumber.pod > debian/cucumber/usr/share/man/man1/cucumber.1
--
cucumber.git
More information about the Pkg-ruby-extras-commits
mailing list