[DRE-commits] [SCM] ruby-ihelp.git branch, master, updated. upstream/0.4.5-11-gcc7a556

Paul van Tilburg paulvt at debian.org
Tue May 29 15:08:47 UTC 2012


The following commit has been merged in the master branch:
commit 30db57374ff945ce1c1b7e9621c3707ce59224d1
Author: Paul van Tilburg <paulvt at debian.org>
Date:   Tue May 29 16:39:13 2012 +0200

    Generate and install RDoc documentation (was also included in libihelp-ruby)

diff --git a/debian/ruby-ihelp.docs b/debian/ruby-ihelp.docs
index 724e084..26be68e 100644
--- a/debian/ruby-ihelp.docs
+++ b/debian/ruby-ihelp.docs
@@ -1,2 +1,3 @@
 README
 TODO
+rdoc/
diff --git a/debian/rules b/debian/rules
index 8646b3a..8dce6e6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,7 +14,18 @@
 %:
 	dh $@ --buildsystem=ruby --with ruby
 
+override_dh_auto_build:
+	dh_auto_build
+	# Generate RDoc documentation
+	rdoc --fmt html --inline-source --fileboxes --line-numbers \
+	  --main README --title "IHelp RDoc documentation" --op rdoc \
+	  README TODO lib/* bin/*
+
 override_dh_auto_install:
 	dh_auto_install
 	mv -f $(CURDIR)/debian/ruby-ihelp/usr/bin/ihelp_reindex.rb \
 	      $(CURDIR)/debian/ruby-ihelp/usr/bin/ihelp_reindex
+
+override_dh_auto_clean:
+	dh_auto_clean
+	rm -rf rdoc

-- 
ruby-ihelp.git



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