[libconvert-ber-perl] 01/06: Use dh(1).
gregor herrmann
gregoa at debian.org
Sun Jan 12 16:10:29 UTC 2014
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libconvert-ber-perl.
commit c1979a1312e13b9d09985458f76411e16e86bbb7
Author: gregor herrmann <gregoa at debian.org>
Date: Sun Jan 12 17:03:49 2014 +0100
Use dh(1).
Don't install README anymore.
---
debian/rules | 52 ++--------------------------------------------------
1 file changed, 2 insertions(+), 50 deletions(-)
diff --git a/debian/rules b/debian/rules
index e6dfd64..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,52 +1,4 @@
#!/usr/bin/make -f
-PACKAGE = $(shell dh_listpackages)
-
-ifndef PERL
-PERL = $(shell which perl)
-endif
-
-configure: configure-stamp
-configure-stamp:
- dh_testdir
- $(PERL) Makefile.PL INSTALLDIRS=vendor DESTDIR=$(CURDIR)/debian/$(PACKAGE)
- 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 Makefile ] || $(MAKE) realclean
- dh_clean
-
-install: build
- dh_testdir
- dh_testroot
- dh_prep
- $(MAKE) install
-
-binary-indep: build install
- dh_testdir
- dh_testroot
- dh_installchangelogs ChangeLog
- 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/libconvert-ber-perl.git
More information about the Pkg-perl-cvs-commits
mailing list