[DRE-commits] [SCM] ruby-commandline.git branch, master, updated. upstream/0.7.10-8-g372fa7c

Cédric Boutillier cedric.boutillier at gmail.com
Sat Oct 15 21:00:47 UTC 2011


The following commit has been merged in the master branch:
commit c42df62b3d0dc2df761d264b80d47ab935fcffa4
Author: Cédric Boutillier <cedric.boutillier at gmail.com>
Date:   Sat Oct 15 14:58:28 2011 +0200

    rules: build and clean doc

diff --git a/debian/rules b/debian/rules
index a5e7dc8..14cb7fa 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,3 +13,17 @@
 
 %:
 	dh $@ --buildsystem=ruby --with ruby
+
+
+#build documentation with rdoc
+override_dh_auto_build:
+	dh_auto_build
+	rdoc --all --inline-source --diagram --fileboxes --line-numbers --fmt=html \
+	       -o build-doc/rdoc lib
+
+#remove built documentation
+override_dh_auto_clean:
+	dh_auto_clean
+	rm -rf build-doc
+
+

-- 
ruby-commandline.git



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