[libio-digest-perl] 05/08: Reduce debian/rules to a tiny 3-line dh-style makefile
Salvatore Bonaccorso
carnil at debian.org
Tue Aug 13 13:25:30 UTC 2013
This is an automated email from the git hooks/post-receive script.
carnil pushed a commit to branch master
in repository libio-digest-perl.
commit 88c94e6f0d0ce832634ffcb9d5aded5b355a21e1
Author: Salvatore Bonaccorso <carnil at debian.org>
Date: Tue Aug 13 14:33:05 2013 +0200
Reduce debian/rules to a tiny 3-line dh-style makefile
---
debian/rules | 70 ++--------------------------------------------------------
1 file changed, 2 insertions(+), 68 deletions(-)
diff --git a/debian/rules b/debian/rules
index cbb118d..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,70 +1,4 @@
#!/usr/bin/make -f
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-# If set to a true value then MakeMaker's prompt function will
-# always return the default without waiting for user input.
-export PERL_MM_USE_DEFAULT=1
-
-PACKAGE = $(shell dh_listpackages)
-
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
-TMP = $(CURDIR)/debian/$(PACKAGE)
-
-build: build-stamp
-build-stamp:
- dh_testdir
-
- $(PERL) Makefile.PL INSTALLDIRS=vendor
- $(MAKE)
-
- touch $@
-
-clean:
- dh_testdir
- dh_testroot
- rm -f build-stamp
-
- -$(MAKE) distclean
-
- dh_clean
-
-install: build
- dh_testdir
- dh_testroot
- dh_clean -k
-
- $(MAKE) test
- $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-
- [ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/lib/perl5
-
-# Build architecture-dependent files here.
-binary-arch: build install
-# We have nothing to do by default.
-
-# Build architecture-independent files here.
-binary-indep: build install
- dh_testdir
- dh_testroot
-# dh_installcron
-# dh_installmenu
-# dh_installexamples
- dh_installdocs README
- dh_installchangelogs CHANGES
- dh_perl
- dh_link
- dh_strip
- dh_compress
- dh_fixperms
- dh_installdeb
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary
+%:
+ dh $@
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libio-digest-perl.git
More information about the Pkg-perl-cvs-commits
mailing list