[SCM] Debian packaging of libfile-localizenewlines-perl branch, master, updated. 0d67b7a1af44fd375fadff54813ae26895de3b89

gregor herrmann gregoa at debian.org
Mon May 27 15:13:00 UTC 2013


The following commit has been merged in the master branch:
commit 92de1410d66a9273f16632643e38fd3cb08211b4
Author: gregor herrmann <gregoa at debian.org>
Date:   Mon May 27 17:04:28 2013 +0200

    debian/rules: use dh(1).

diff --git a/debian/rules b/debian/rules
index f9dc5fb..15429f4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,27 +3,11 @@
 PKG=$(shell dh_listpackages)
 TMP=$(CURDIR)/debian/$(PKG)
 
-build: build-stamp
-build-stamp:
-	dh build
-	touch $@
-
-clean:
+%:
 	dh $@
 
-install: install-stamp
-install-stamp: build-stamp
-	dh install
+override_dh_auto_install:
+	dh_auto_install
 	# this script is installed as an example; remove it from /usr/bin
 	rm -v $(TMP)/usr/bin/localizenewlines
 	rmdir --parents --ignore-fail-on-non-empty $(TMP)/usr/bin
-	touch $@
-
-binary-arch:
-
-binary-indep: install
-	dh $@
-
-binary: binary-arch binary-indep
-
-.PHONY: binary binary-arch binary-indep install clean build

-- 
Debian packaging of libfile-localizenewlines-perl



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