[libpod-spell-perl] 09/11: Switch to short-form debian/rules
Florian Schlichting
fsfs at alioth.debian.org
Tue Oct 1 21:49:12 UTC 2013
This is an automated email from the git hooks/post-receive script.
fsfs pushed a commit to branch master
in repository libpod-spell-perl.
commit a4d8fb1a51e1722ee36a1ebfd017bd27881dcaa1
Author: Florian Schlichting <fsfs at debian.org>
Date: Tue Oct 1 23:46:32 2013 +0200
Switch to short-form debian/rules
---
debian/rules | 55 ++-----------------------------------------------------
1 file changed, 2 insertions(+), 53 deletions(-)
diff --git a/debian/rules b/debian/rules
index e487454..abde6ef 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,56 +1,5 @@
#!/usr/bin/make -f
-# -*- makefile -*-
+%:
+ dh $@
-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)
- $(MAKE) test
- touch $@
-
-clean:
- dh_testdir
- dh_testroot
- dh_clean build-stamp
- [ ! -f Makefile ] || $(MAKE) realclean
- dh_clean
-
-install: install-stamp
-install-stamp: build-stamp
- dh_testdir
- dh_testroot
- dh_clean -k
- $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
- [ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
-
-
-binary-arch:
-
-binary-indep: build install
- dh_testdir
- dh_testroot
- dh_installchangelogs ChangeLog
- dh_installdocs
- dh_installman debian/podspell.1
- dh_compress
- dh_fixperms
- dh_perl
- dh_installdeb
- dh_shlibdeps
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libpod-spell-perl.git
More information about the Pkg-perl-cvs-commits
mailing list