[DRE-commits] [chake] 02/03: call manpage build manually in debian/rules

Antonio Terceiro terceiro at moszumanska.debian.org
Fri Oct 2 21:27:29 UTC 2015


This is an automated email from the git hooks/post-receive script.

terceiro pushed a commit to branch debian/jessie-backports
in repository chake.

commit 61ca98dbb2670dd6192eb3e08300ba06071bfbbc
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Fri Oct 2 18:25:06 2015 -0300

    call manpage build manually in debian/rules
---
 debian/changelog | 2 ++
 debian/manpages  | 1 +
 debian/rules     | 8 ++++++++
 3 files changed, 11 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index cb66bf2..65d4165 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
 chake (0.9.1-1~bpo8+1) jessie-backports; urgency=medium
 
   * Rebuild for jessie-backports.
+  * call manpage build manually in debian/rules (gem2deb from stretch does
+    that automatically but the one from jessie does not).
 
  -- Antonio Terceiro <terceiro at debian.org>  Fri, 02 Oct 2015 18:19:22 -0300
 
diff --git a/debian/manpages b/debian/manpages
new file mode 100644
index 0000000..d9d6875
--- /dev/null
+++ b/debian/manpages
@@ -0,0 +1 @@
+man/chake.1
diff --git a/debian/rules b/debian/rules
index 3454d59..030e114 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,3 +4,11 @@ export GEM2DEB_TEST_RUNNER = --check-dependencies
 
 %:
 	dh $@ --buildsystem=ruby --with ruby
+
+override_dh_auto_build:
+	dh_auto_build
+	rake -f man/Rakefile
+
+override_dh_auto_clean:
+	dh_auto_clean
+	rake -f man/Rakefile clean

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/chake.git



More information about the Pkg-ruby-extras-commits mailing list