[SCM] librdf-vcard-perl Debian packaging branch, master, updated. debian/0.007-2-9-gf0ac002

Florian Schlichting fschlich at zedat.fu-berlin.de
Thu Dec 29 17:32:24 UTC 2011


The following commit has been merged in the master branch:
commit 9d35afd749430f2d339f466d40e9c8011275f1f3
Author: Florian Schlichting <fschlich at zedat.fu-berlin.de>
Date:   Thu Dec 29 18:27:40 2011 +0100

    Ship provided scripts as examples, not executables

diff --git a/debian/changelog b/debian/changelog
index b5fad8a..2a5e55d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,6 +12,7 @@ librdf-vcard-perl (0.008-1) UNRELEASED; urgency=low
   [ Florian Schlichting ]
   * Bumped copyright years, adjusted DEP-5 headers and deleted stanza for
     removed inc/Test/Signature.pm
+  * Ship provided scripts as examples, not executables.
 
  -- Florian Schlichting <fschlich at zedat.fu-berlin.de>  Thu, 29 Dec 2011 17:56:53 +0100
 
diff --git a/debian/rules b/debian/rules
index 58cb68f..ba9733f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -34,3 +34,10 @@ common-recommends = libxml-libxml-perl
 CDBS_BUILD_DEPENDS += , $(common-depends), $(common-recommends)
 CDBS_DEPENDS_ALL = $(common-depends)
 CDBS_RECOMMENDS_ALL = $(common-recommends)
+
+DEB_INSTALL_EXAMPLES_ALL += script/*
+
+# make sure scripts aren't shipped in /usr/bin *in addition* to examples
+install/librdf-vcard-perl::
+	rm debian/librdf-vcard-perl/usr/bin/vcard2*
+	rmdir debian/librdf-vcard-perl/usr/bin

-- 
librdf-vcard-perl Debian packaging



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