r18492 - in /trunk/libxml-xpathengine-perl/debian: changelog rules
gregoa-guest at users.alioth.debian.org
gregoa-guest at users.alioth.debian.org
Sat Apr 12 11:11:55 UTC 2008
Author: gregoa-guest
Date: Sat Apr 12 11:11:53 2008
New Revision: 18492
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=18492
Log:
Refresh debian/rules, no functional changes.
Modified:
trunk/libxml-xpathengine-perl/debian/changelog
trunk/libxml-xpathengine-perl/debian/rules
Modified: trunk/libxml-xpathengine-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-xpathengine-perl/debian/changelog?rev=18492&op=diff
==============================================================================
--- trunk/libxml-xpathengine-perl/debian/changelog (original)
+++ trunk/libxml-xpathengine-perl/debian/changelog Sat Apr 12 11:11:53 2008
@@ -1,8 +1,9 @@
libxml-xpathengine-perl (0.09-1) UNRELEASED; urgency=low
* New upstream release.
+ * Refresh debian/rules, no functional changes.
- -- gregor herrmann <gregor+debian at comodo.priv.at> Sat, 12 Apr 2008 13:05:21 +0200
+ -- gregor herrmann <gregor+debian at comodo.priv.at> Sat, 12 Apr 2008 13:09:52 +0200
libxml-xpathengine-perl (0.08-2) unstable; urgency=low
Modified: trunk/libxml-xpathengine-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-xpathengine-perl/debian/rules?rev=18492&op=diff
==============================================================================
--- trunk/libxml-xpathengine-perl/debian/rules (original)
+++ trunk/libxml-xpathengine-perl/debian/rules Sat Apr 12 11:11:53 2008
@@ -11,32 +11,22 @@
# 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
@@ -44,16 +34,11 @@
dh_testdir
dh_testroot
dh_clean -k
-
- # Add commands to install the package into debian/$PACKAGE_NAME here
$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-
- # As this is a architecture independent package, we are not
- # supposed to install stuff to /usr/lib. MakeMaker creates
- # the dirs, we delete them from the deb:
- [ ! -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 here for an architecture-independent package
@@ -71,8 +56,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