[libapache2-authenntlm-perl] 02/12: debian/rules: switch to dh(1) variant.

gregor herrmann gregoa at debian.org
Fri Feb 21 17:44:12 UTC 2014


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository libapache2-authenntlm-perl.

commit 590077695424b78232926e18b55228d54baa3fdc
Author: gregor herrmann <gregoa at debian.org>
Date:   Fri Feb 21 18:26:18 2014 +0100

    debian/rules: switch to dh(1) variant.
---
 debian/libapache2-authenntlm-perl.docs |  1 +
 debian/rules                           | 64 ++--------------------------------
 2 files changed, 3 insertions(+), 62 deletions(-)

diff --git a/debian/libapache2-authenntlm-perl.docs b/debian/libapache2-authenntlm-perl.docs
new file mode 100644
index 0000000..e845566
--- /dev/null
+++ b/debian/libapache2-authenntlm-perl.docs
@@ -0,0 +1 @@
+README
diff --git a/debian/rules b/debian/rules
index 005db5a..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,64 +1,4 @@
 #!/usr/bin/make -f
-export PERL_MM_USE_DEFAULT=1
 
-PACKAGE=$(shell dh_listpackages)
-
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
-TMP     =$(CURDIR)/debian/$(PACKAGE)
-
-CFLAGS = -Wall -g
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-        CFLAGS += -O0
-else
-        CFLAGS += -O2
-endif
-
-build: build-stamp
-build-stamp:
-	dh_testdir
-	$(PERL) Makefile.PL INSTALLDIRS=vendor #NORECURS=1
-	$(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
-	$(MAKE) test
-	touch build-stamp
-
-clean:
-	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
-	dh_clean -k
-	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-	[ ! -d $(TMP)/usr/share/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/share/perl5
-	touch install-stamp
-
-binary-indep: build install
-
-binary-arch: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs README
-	dh_installchangelogs Changes
-	dh_strip
-	dh_compress
-	dh_fixperms
-	dh_makeshlibs
-	dh_installdeb
-	dh_perl
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-source diff:
-	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
-
-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/libapache2-authenntlm-perl.git



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