[libsvn-notify-perl] 03/10: Use dh(1) in debian/rules.
gregor herrmann
gregoa at debian.org
Sun Jan 12 16:44:49 UTC 2014
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libsvn-notify-perl.
commit 95944b3f081ff408c043b0043d366e36a9ceab38
Author: gregor herrmann <gregoa at debian.org>
Date: Sun Jan 12 17:33:23 2014 +0100
Use dh(1) in debian/rules.
---
debian/rules | 56 ++------------------------------------------------------
1 file changed, 2 insertions(+), 54 deletions(-)
diff --git a/debian/rules b/debian/rules
index 5ab5d7a..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,56 +1,4 @@
#!/usr/bin/make -f
-#export DH_VERBOSE=1
-
-PACKAGE = $(shell dh_listpackages)
-
-TEST_FILES=$(filter-out t/pod%.t,$(shell echo t/*.t))
-
-ifndef PERL
-PERL = $(shell which perl)
-endif
-
-configure: configure-stamp
-configure-stamp:
- dh_testdir
- $(PERL) Makefile.PL INSTALLDIRS=vendor DESTDIR=$(CURDIR)/debian/$(PACKAGE) TEST_FILES="$(TEST_FILES)" create_packlist=0
- touch configure-stamp
-
-build: build-stamp
-
-build-stamp: configure-stamp
- dh_testdir
- $(MAKE) OPTIMIZE="-O2 -g -Wall"
- $(MAKE) test
- touch build-stamp
-
-clean:
- dh_testdir
- dh_testroot
- rm -f build-stamp configure-stamp
- [ ! -f Build ] || $(MAKE) realclean
- dh_clean
-
-install: build
- dh_testdir
- dh_testroot
- dh_prep
- $(MAKE) install
-
-binary-indep: build install
- dh_testdir
- dh_testroot
- dh_installchangelogs Changes
- dh_installdocs README
- dh_compress
- dh_fixperms
- dh_perl
- dh_installdeb
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-binary-arch: build install
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+%:
+ dh $@
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libsvn-notify-perl.git
More information about the Pkg-perl-cvs-commits
mailing list