[DRE-commits] [ruby-ole] 03/05: Update dh_auto_install: add ruby-ole.examples

Youhei SASAKI uwabami-guest at alioth.debian.org
Mon Aug 5 15:35:35 UTC 2013


This is an automated email from the git hooks/post-receive script.

uwabami-guest pushed a commit to branch master
in repository ruby-ole.

commit d42d3a72ec0a9999298bde6755f9069d268e736e
Author: Youhei SASAKI <uwabami at gfd-dennou.org>
Date:   Tue Aug 6 00:13:06 2013 +0900

    Update dh_auto_install: add ruby-ole.examples
    
    Signed-off-by: Youhei SASAKI <uwabami at gfd-dennou.org>
---
 debian/ruby-ole.examples |    1 +
 debian/rules             |    7 ++-----
 2 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/debian/ruby-ole.examples b/debian/ruby-ole.examples
new file mode 100644
index 0000000..2c053b6
--- /dev/null
+++ b/debian/ruby-ole.examples
@@ -0,0 +1 @@
+bin/oletool
diff --git a/debian/rules b/debian/rules
index 0da7e6d..67c539a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,10 +16,7 @@ BUILDDIR=./debian/ruby-ole
 	dh $@ --buildsystem=ruby --with ruby
 
 override_dh_auto_install:
-	dh_install data usr/share/ruby-ole/
 	dh_auto_install
-	# Provided binary `oletool' should rather be shipped as an
-	# example
-	mkdir -p $(BUILDDIR)/usr/share/doc/ruby-ole/examples/
-	mv $(BUILDDIR)/usr/bin/oletool $(BUILDDIR)/usr/share/doc/ruby-ole/examples/
+	# Provided binary `oletool' should rather be shipped as an example
+	# @see $(CURDIR)/debian/ruby-ole.examples
 	rm -rf $(BUILDDIR)/usr/bin

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-ole.git



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