[DRE-commits] [SCM] ruby-pdf-reader.git branch, master, updated. upstream/0.10.0-15-g3168024

Cédric Boutillier cedric.boutillier at gmail.com
Wed Sep 7 08:55:53 UTC 2011


The following commit has been merged in the master branch:
commit a2764a94b32e706b3351f6465d6910e4113b8554
Author: Cédric Boutillier <cedric.boutillier at gmail.com>
Date:   Wed Sep 7 09:17:57 2011 +0200

    do not ship bin/* and fix permissions of examples/*
    
    Most of them are similar to examples, and might not be directly useful.
    Make all the scripts in examples/ executable.

diff --git a/debian/rules b/debian/rules
index a5e7dc8..f71a049 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,5 @@
 #!/usr/bin/make -f
-#export DH_VERBOSE=1
+export DH_VERBOSE=1
 #
 # Uncomment to ignore all test failures (but the tests will run anyway)
 #export DH_RUBY_IGNORE_TESTS=all
@@ -13,3 +13,12 @@
 
 %:
 	dh $@ --buildsystem=ruby --with ruby
+
+override_dh_auto_install:
+	dh_auto_install
+	rm debian/ruby-pdf-reader/usr/bin/*
+	rmdir debian/ruby-pdf-reader/usr/bin
+
+override_dh_installexamples:
+	dh_installexamples
+	chmod 755 debian/ruby-pdf-reader/usr/share/doc/ruby-pdf-reader/examples/*.rb

-- 
ruby-pdf-reader.git



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