r68028 - in /trunk/libpdf-api2-perl/debian: changelog rules

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Sat Jan 29 15:18:42 UTC 2011


Author: gregoa
Date: Sat Jan 29 15:18:31 2011
New Revision: 68028

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=68028
Log:
debian/rules: fix hashbang in examples.

Modified:
    trunk/libpdf-api2-perl/debian/changelog
    trunk/libpdf-api2-perl/debian/rules

Modified: trunk/libpdf-api2-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpdf-api2-perl/debian/changelog?rev=68028&op=diff
==============================================================================
--- trunk/libpdf-api2-perl/debian/changelog (original)
+++ trunk/libpdf-api2-perl/debian/changelog Sat Jan 29 15:18:31 2011
@@ -19,6 +19,7 @@
   * Patches: remove createmanpages.diff, fix_typo_in_manpage.patch,
     fix_unmatched_back.patch (not needed anymore).
   * Minimize debian/rules.
+  * debian/rules: fix hashbang in examples.
 
  -- gregor herrmann <gregoa at debian.org>  Sat, 29 Jan 2011 15:22:40 +0100
 

Modified: trunk/libpdf-api2-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpdf-api2-perl/debian/rules?rev=68028&op=diff
==============================================================================
--- trunk/libpdf-api2-perl/debian/rules (original)
+++ trunk/libpdf-api2-perl/debian/rules Sat Jan 29 15:18:31 2011
@@ -1,7 +1,7 @@
 #!/usr/bin/make -f
 
 PACKAGE= libpdf-api2-perl
-TMP    = "$(CURDIR)/debian/$(PACKAGE)"
+TMP    = $(CURDIR)/debian/$(PACKAGE)
 
 
 %:
@@ -24,3 +24,7 @@
 	# instead of duplicating them
 	rm -rf $(TMP)/usr/share/perl5/PDF/API2/fonts
 	dh_link
+
+override_dh_installexamples:
+	dh_installexamples
+	sed -i '1s|^#!/usr/local/bin/perl|#!/usr/bin/perl|' $(TMP)/usr/share/doc/$(PACKAGE)/examples/*




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