[SCM] Debian packaging of libsvn-hooks-perl branch, master, updated. debian/1.10-1-7-g587c5be

gregor herrmann gregoa at debian.org
Mon Dec 5 18:51:52 UTC 2011


The following commit has been merged in the master branch:
commit ffd12bdebe82632ac7dca939c743beffaeb0b730
Author: gregor herrmann <gregoa at debian.org>
Date:   Mon Dec 5 19:46:25 2011 +0100

    Install the new examples (with the x bit stripped, they are just snippets).

diff --git a/debian/libsvn-hooks-perl.examples b/debian/libsvn-hooks-perl.examples
new file mode 100644
index 0000000..e39721e
--- /dev/null
+++ b/debian/libsvn-hooks-perl.examples
@@ -0,0 +1 @@
+examples/*
diff --git a/debian/rules b/debian/rules
index 2d33f6a..4fd810e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,12 @@
 #!/usr/bin/make -f
 
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
+
 %:
 	dh $@
+
+override_dh_installexamples:
+	dh_installexamples
+	# only snippets
+	chmod -x $(TMP)/usr/share/doc/$(PACKAGE)/examples/*.pl

-- 
Debian packaging of libsvn-hooks-perl



More information about the Pkg-perl-cvs-commits mailing list