[DRE-commits] [SCM] rdtool.git branch, master, updated. upstream/0.6.22-28-gf8749af
Taku YASUI
tach at debian.org
Sat May 5 17:33:31 UTC 2012
The following commit has been merged in the master branch:
commit 24c555e7c928c069dd38654ef3b3ad60fb41f557
Author: Taku YASUI <tach at debian.org>
Date: Sun May 6 01:36:03 2012 +0900
Add to build HTML document
diff --git a/debian/rules b/debian/rules
index b9ba1fc..90a3082 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,14 +4,23 @@ include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/patchsys-quilt.mk
libdir := $(shell ruby -r rbconfig -e 'print RbConfig::CONFIG["vendordir"]')
+docs := doc/rd-draft.html doc/rd-draft.html.ja README.html README.html.ja
+
+%.html: %.rd
+ ruby -Ilib bin/rd2 $< > $@
+
+%.html.ja: %.rd.ja
+ ruby -Ilib bin/rd2 $< > $@
clean::
-ruby setup.rb clean
+ rm -f $(docs)
configure/rdtool::
ruby setup.rb config --installdirs=std --librubyver=$(libdir)
-build/rdtool::
+build/rdtool:: $(docs)
+ # Build manuals
ruby -Ilib bin/rd2 -rrd/rd2man-lib -oRD2 bin/rd2
mv RD2.1 debian/rd2.1
ruby -Ilib bin/rd2 -rrd/rd2man-lib -oRDSWAP debian/rdswap.rd
--
rdtool.git
More information about the Pkg-ruby-extras-commits
mailing list