[SCM] Debian packaging of libfile-pushd-perl branch, master, updated. 02d99fc4444fceededbb6c0ddae60403365fee6f

gregor herrmann gregoa at debian.org
Sat Sep 17 16:37:08 UTC 2011


The following commit has been merged in the master branch:
commit 9cbf5d2eaf8cdf585019afa1f8b73cecd91f43ab
Author: gregor herrmann <gregoa at debian.org>
Date:   Sat Sep 17 18:31:51 2011 +0200

    debian/rules: use tiny dh versions; fix hashbang in examples.

diff --git a/debian/rules b/debian/rules
index 0d045f4..fbbef32 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,23 +1,11 @@
 #!/usr/bin/make -f
 
-build: build-stamp
-build-stamp:
-	dh build
-	touch $@
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
 
-clean:
+%:
 	dh $@
 
-install: install-stamp
-install-stamp: build-stamp
-	dh install
-	touch $@
-
-binary-arch:
-
-binary-indep: install
-	dh $@
-
-binary: binary-arch binary-indep
-
-.PHONY: binary binary-arch binary-indep install clean build
+override_dh_installexamples:
+	dh_installexamples
+	sed -i '1s|^#!perl|#!/usr/bin/perl|' $(TMP)/usr/share/doc/$(PACKAGE)/examples/*

-- 
Debian packaging of libfile-pushd-perl



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