[SCM] Debian packaging of libauthen-simple-perl branch, master, updated. fda3ed288a39b572f58c14f93d15473e8ff24bf6

Florian Schlichting fschlich at zedat.fu-berlin.de
Fri May 4 21:47:09 UTC 2012


The following commit has been merged in the master branch:
commit ec6a948196b351539c8d86231677f9c67a059077
Author: Florian Schlichting <fschlich at zedat.fu-berlin.de>
Date:   Fri May 4 23:25:54 2012 +0200

    Switched to short-form debian/rules

diff --git a/debian/rules b/debian/rules
index bc56c62..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,55 +1,4 @@
 #!/usr/bin/make -f
 
-PACKAGE=$(shell dh_listpackages)
-TMP = $(CURDIR)/debian/$(PACKAGE)
-
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
-ifndef DIR
-DIR = $(CURDIR)/debian/libauthen-simple-perl
-endif
-
-build: build-stamp
-build-stamp:
-	dh_testdir
-	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE)
-	touch $@
-
-install: install-stamp
-install-stamp: build
-	dh_testdir
-	dh_testroot
-	TEST_POD=1 $(MAKE) test
-	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-	[ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
-	touch $@
-
-clean:
-	dh_testdir
-	dh_testroot
-	[ ! -f Makefile ] || $(MAKE) realclean
-	dh_clean build-stamp install-stamp 
-
-binary-arch: build install
-
-binary: binary-indep binary-arch
-
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs
-	dh_installchangelogs Changes
-	dh_compress
-	dh_fixperms
-	dh_strip
-	dh_installdeb
-	dh_perl
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: binary clean ibinary-indep binary-arch build clean install
+%:
+	dh $@

-- 
Debian packaging of libauthen-simple-perl



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