[liblatex-tom-perl] 15/22: Use dh(1).

gregor herrmann gregoa at debian.org
Sat Sep 9 18:16:04 UTC 2017


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

gregoa pushed a commit to branch master
in repository liblatex-tom-perl.

commit 941eae15e19f0ca0f0140010d84f022135b13b2b
Author: gregor herrmann <gregoa at debian.org>
Date:   Sat Sep 9 20:02:01 2017 +0200

    Use dh(1).
---
 debian/rules | 56 ++------------------------------------------------------
 1 file changed, 2 insertions(+), 54 deletions(-)

diff --git a/debian/rules b/debian/rules
index 7e131c3..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,56 +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)
-
-build: build-stamp 
-build-stamp:
-	dh_testdir
-	$(PERL) Build.PL installdirs=vendor
-	OPTIMIZE="-Wall -O2 -g" $(PERL) Build
-	touch build-stamp
-
-clean: 
-	dh_testdir
-	dh_testroot
-	-$(PERL) Build distclean
-	rm -rf Makefile.old
-	dh_clean build-stamp install-stamp
-
-install: build install-stamp
-install-stamp:
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	$(PERL) Build test
-	$(PERL) Build install destdir=$(TMP)
-	find $(TMP) -type f -name .packlist | xargs rm -f
-	#Delete automatically empty dirs.
-	find $(TMP) -depth -type d -empty -exec rmdir {} \;
-	touch install-stamp
-
-binary-arch:
-
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs
-	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/liblatex-tom-perl.git



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