r26199 - /trunk/libemail-mime-perl/debian/rules
emhn-guest at users.alioth.debian.org
emhn-guest at users.alioth.debian.org
Wed Oct 22 13:28:33 UTC 2008
Author: emhn-guest
Date: Wed Oct 22 13:28:30 2008
New Revision: 26199
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=26199
Log:
Used dh-make-perl -R to upgrade.
Modified:
trunk/libemail-mime-perl/debian/rules
Modified: trunk/libemail-mime-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libemail-mime-perl/debian/rules?rev=26199&op=diff
==============================================================================
--- trunk/libemail-mime-perl/debian/rules (original)
+++ trunk/libemail-mime-perl/debian/rules Wed Oct 22 13:28:30 2008
@@ -11,26 +11,24 @@
# always return the default without waiting for user input.
export PERL_MM_USE_DEFAULT=1
-PACKAGE=$(shell dh_listpackages)
-
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
-TMP =$(CURDIR)/debian/$(PACKAGE)
+PERL ?= /usr/bin/perl
+PACKAGE = $(shell dh_listpackages)
+TMP = $(CURDIR)/debian/$(PACKAGE)
build: build-stamp
build-stamp:
dh_testdir
+ # Add commands to compile the package here
$(PERL) Makefile.PL INSTALLDIRS=vendor
$(MAKE)
$(MAKE) test
- touch build-stamp
+ touch $@
clean:
dh_testdir
dh_testroot
dh_clean build-stamp install-stamp
+ # Add commands to clean up after the build process here
[ ! -f Makefile ] || $(MAKE) realclean
install: install-stamp
@@ -38,17 +36,20 @@
dh_testdir
dh_testroot
dh_clean -k
+ # Add commands to install the package into $(TMP) here
$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
- [ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
- touch install-stamp
+ [ ! -d $(TMP)/usr/lib/perl5 ] || \
+ rmdir --ignore-fail-on-non-empty --parents --verbose \
+ $(TMP)/usr/lib/perl5
+ touch $@
binary-arch:
-# We have nothing to do by default.
+# We have nothing to do here for an architecture-independent package
binary-indep: build install
dh_testdir
dh_testroot
- dh_installdocs README
+ dh_installdocs README
dh_installchangelogs Changes
dh_perl
dh_compress
@@ -58,8 +59,5 @@
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
+.PHONY: build clean binary-indep binary-arch binary install
More information about the Pkg-perl-cvs-commits
mailing list