[DRE-commits] [SCM] rdtool.git branch, master, updated. debian/0.6.31-1-25-gea4581b

Taku YASUI tach at debian.org
Sat May 5 19:21:50 UTC 2012


The following commit has been merged in the master branch:
commit 070090b5702d737a6a54f690a412f611a329a33c
Author: Taku YASUI <tach at debian.org>
Date:   Sun May 6 03:47:27 2012 +0900

    back to use cdbs

diff --git a/debian/rules b/debian/rules
index 8722ff6..cdf4429 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,19 +1,29 @@
 #!/usr/bin/make -f
-#export DH_VERBOSE=1
-#
-# Uncomment to ignore all test failures (but the tests will run anyway)
-#export DH_RUBY_IGNORE_TESTS=all
-#
-# Uncomment to ignore some test failures (but the tests will run anyway).
-# Valid values:
-#export DH_RUBY_IGNORE_TESTS=ruby1.8 ruby1.9.1 require-rubygems
-#
-# If you need to specify the .gemspec (eg there is more than one)
-#export DH_RUBY_GEMSPEC=gem.gemspec
 
-%:
-	dh $@ --buildsystem=ruby --with ruby
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
 
-override_dh_auto_install:
+libdir := $(shell ruby -r rbconfig -e 'print RbConfig::CONFIG["vendordir"]')
+
+clean::
+	dh_ruby --clean
+
+configure/rdtool::
+	dh_ruby --configure
+	#ruby setup.rb config --installdirs=std --librubyver=$(libdir)
+
+build/rdtool::
+	dh_ruby --build
+	# 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
+	mv RDSWAP.1 debian/rdswap.1
+
+install/rdtool::
 	dh_ruby --install
-	echo aaa
+	#ruby setup.rb install --prefix=$(DEB_DESTDIR)
+	install -D -m644 lib/rd/dot.rd2rc $(DEB_DESTDIR)/etc/rdtool/rd2rc
+
+install/rdtool-elisp::
+	install -D -m644 utils/rd-mode.el $(DEB_DESTDIR)/usr/share/emacs/site-lisp/$(cdbs_curpkg)/rd-mode.el

-- 
rdtool.git



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