[DRE-commits] [SCM] rubygems.git branch, master, updated. debian/1.7.2-1-11-g7c5cb0a
Daigo Moriwaki
daigo at debian.org
Fri Apr 29 14:25:46 UTC 2011
The following commit has been merged in the master branch:
commit 2fffdddc3691f3fa819003bd58629c1b4171c121
Author: Daigo Moriwaki <daigo at debian.org>
Date: Fri Apr 29 23:18:02 2011 +0900
Install more docouments that were installed by the previous version.
diff --git a/debian/rubygems.docs b/debian/rubygems.docs
deleted file mode 100644
index e475c53..0000000
--- a/debian/rubygems.docs
+++ /dev/null
@@ -1 +0,0 @@
-README.rdoc
diff --git a/debian/rules b/debian/rules
index 5fc22de..f5a325f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,9 +12,17 @@ export DH_RUBY_IGNORE_TESTS=require-rubygems
# If you need to specify the .gemspec (eg there is more than one)
#export DH_RUBY_GEMSPEC=gem.gemspec
+RDOC = /usr/bin/rdoc1.8
+
%:
dh $@ --buildsystem=ruby --with ruby,quilt
+build: build-arch build-indep ;
+
+build-indep:
+ find lib -name "*.rb" | xargs $(RDOC) --fmt html --title RubyGems \
+ --line-numbers --inline-source --main README.rdoc -o html README.rdoc
+
override_dh_auto_install:
dh_auto_install
mv debian/rubygems/usr/bin/gem debian/rubygems/usr/bin/gem1.8
@@ -23,3 +31,14 @@ override_dh_auto_install:
mkdir debian/rubygems/usr/lib/ruby/tmp
mv debian/rubygems/usr/lib/ruby/vendor_ruby/* debian/rubygems/usr/lib/ruby/tmp/
mv debian/rubygems/usr/lib/ruby/tmp debian/rubygems/usr/lib/ruby/vendor_ruby/1.8
+
+override_dh_installchangelogs:
+ dh_installchangelogs History.txt
+
+override_dh_installdocs:
+ dh_installdocs html
+
+override_dh_auto_clean:
+ dh_auto_clean
+ [ ! -d html ] || rm -rf html
+
--
rubygems.git
More information about the Pkg-ruby-extras-commits
mailing list