[DRE-commits] [SCM] ruby-prawn.git branch, master, updated. upstream/1.0.0_rc1-44-g6e97afc

Cédric Boutillier cedric.boutillier at gmail.com
Thu Nov 24 23:12:02 UTC 2011


The following commit has been merged in the master branch:
commit 07f87bbaa7d7c72a00d895f17f33071536d41fa5
Author: Cédric Boutillier <cedric.boutillier at gmail.com>
Date:   Mon Nov 21 17:43:02 2011 +0100

    build and install the manual

diff --git a/debian/ruby-prawn.docs b/debian/ruby-prawn.docs
index b43bf86..37bbb58 100644
--- a/debian/ruby-prawn.docs
+++ b/debian/ruby-prawn.docs
@@ -1 +1,2 @@
 README.md
+manual.pdf
diff --git a/debian/rules b/debian/rules
index b9f55af..f1b1927 100755
--- a/debian/rules
+++ b/debian/rules
@@ -22,10 +22,12 @@ override_dh_auto_install:
 	mkdir -p debian/ruby-prawn/usr/share/ruby-prawn
 	cp -R data/* debian/ruby-prawn/usr/share/ruby-prawn
 	dh_auto_install
-	# remove the copy of data in debian/ruby-prawn
+	ruby -I "debian/ruby-prawn/usr/lib/ruby/vendor_ruby" manual/manual/manual.rb
+	# remove the copy of data in debian/ruby-prawn (will be reinstalled by dh_install)
 	rm -rf debian/ruby-prawn/usr/share/ruby-prawn
 
 override_dh_auto_clean:
 	# remove the copy of spec/data in data/
 	rm -rf data/spec
+	rm -f manual.pdf
 	dh_auto_clean

-- 
ruby-prawn.git



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