[DRE-commits] [SCM] camping.git branch, master, updated. upstream/2.1-4-gfac3896

Paul van Tilburg paul at luon.net
Sat Sep 24 21:35:22 UTC 2011


The following commit has been merged in the master branch:
commit 244b2a3ee647aad31158ad5d620cf3cfb1fd223c
Author: Paul van Tilburg <paul at luon.net>
Date:   Sat Sep 24 23:34:01 2011 +0200

    Added RDoc generation (from the old package).

diff --git a/debian/rules b/debian/rules
index b2eab18..c49fc91 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,3 +13,13 @@ export DH_RUBY_IGNORE_TESTS=all
 
 %:
 	dh $@ --buildsystem=ruby --with ruby
+
+override_dh_auto_build:
+	dh_auto_build
+	rdoc --fmt html --inline-source --fileboxes --line-numbers \
+	  --main README --title "Camping, a Microframework" --op doc/rdoc \
+	  README book/* lib/camping-unabridged.rb lib/camping/*.rb
+
+override_dh_auto_clean:
+	dh_auto_clean
+	rm -rf doc

-- 
camping.git



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