[libnet-snpp-perl] 01/06: Convert debian/rules to short format dh and compat 9
Daniel Lintott
dlintott-guest at moszumanska.debian.org
Mon Apr 14 19:32:20 UTC 2014
This is an automated email from the git hooks/post-receive script.
dlintott-guest pushed a commit to branch master
in repository libnet-snpp-perl.
commit dcc75cdec7bfaeb031b4afa9112048fc614eab19
Author: Daniel Lintott <daniel at serverb.co.uk>
Date: Mon Apr 14 19:49:28 2014 +0100
Convert debian/rules to short format dh and compat 9
---
debian/compat | 2 +-
debian/rules | 54 ++----------------------------------------------------
2 files changed, 3 insertions(+), 53 deletions(-)
diff --git a/debian/compat b/debian/compat
index 7ed6ff8..ec63514 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-5
+9
diff --git a/debian/rules b/debian/rules
index 7cb8940..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,54 +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)
-PERL ?= /usr/bin/perl
-TMP = $(CURDIR)/debian/$(PACKAGE)
-
-include /usr/share/quilt/quilt.make
-
-build: build-stamp
-build-stamp: $(QUILT_STAMPFN)
- dh_testdir
- $(PERL) Makefile.PL INSTALLDIRS=vendor
- $(MAKE)
- $(MAKE) test
- touch $@
-
-clean: unpatch
- dh_testdir
- dh_testroot
- dh_clean build-stamp install-stamp
- [ ! -f Makefile ] || $(MAKE) realclean
-
-install: install-stamp
-install-stamp: build-stamp
- dh_testdir
- dh_testroot
- $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
- [ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty \
- --parents --verbose $(TMP)/usr/lib/perl5
- touch $@
-
-binary-arch:
-
-binary-indep: build install
- dh_testdir
- dh_testroot
- dh_installdocs README
- dh_installchangelogs
- dh_perl
- dh_compress
- dh_fixperms
- dh_installdeb
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: binary binary-arch binary-indep build clean install
+%:
+ dh $@
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libnet-snpp-perl.git
More information about the Pkg-perl-cvs-commits
mailing list