r18667 - in /trunk/libxml-dom-xpath-perl/debian: changelog rules
gregoa-guest at users.alioth.debian.org
gregoa-guest at users.alioth.debian.org
Wed Apr 16 15:15:24 UTC 2008
Author: gregoa-guest
Date: Wed Apr 16 15:15:23 2008
New Revision: 18667
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=18667
Log:
Refresh debian/rules, no functional changes.
Modified:
trunk/libxml-dom-xpath-perl/debian/changelog
trunk/libxml-dom-xpath-perl/debian/rules
Modified: trunk/libxml-dom-xpath-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-dom-xpath-perl/debian/changelog?rev=18667&op=diff
==============================================================================
--- trunk/libxml-dom-xpath-perl/debian/changelog (original)
+++ trunk/libxml-dom-xpath-perl/debian/changelog Wed Apr 16 15:15:23 2008
@@ -9,8 +9,9 @@
Homepage pseudo-field (Description); XS-Vcs-Svn fields.
* New upstream release.
* Remove utf8 patch (applied upstreams) and quilt framework.
+ * Refresh debian/rules, no functional changes.
- -- gregor herrmann <gregor+debian at comodo.priv.at> Wed, 16 Apr 2008 17:10:48 +0200
+ -- gregor herrmann <gregor+debian at comodo.priv.at> Wed, 16 Apr 2008 17:14:01 +0200
libxml-dom-xpath-perl (0.13-1) unstable; urgency=low
Modified: trunk/libxml-dom-xpath-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-dom-xpath-perl/debian/rules?rev=18667&op=diff
==============================================================================
--- trunk/libxml-dom-xpath-perl/debian/rules (original)
+++ trunk/libxml-dom-xpath-perl/debian/rules Wed Apr 16 15:15:23 2008
@@ -1,19 +1,24 @@
#!/usr/bin/make -f
-# -*- makefile -*-
+# This debian/rules file is provided as a template for normal perl
+# packages. It was created by Marc Brockschmidt <marc at dch-faq.de> for
+# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may
+# be used freely wherever it is useful.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+# If set to a true value then MakeMaker's prompt function will
+# always return the default without waiting for user input.
+export PERL_MM_USE_DEFAULT=1
+
+PERL ?= /usr/bin/perl
+PACKAGE = $(shell dh_listpackages)
+TMP = $(CURDIR)/debian/$(PACKAGE)
+
build: build-stamp
build-stamp:
dh_testdir
- # the VENDORARCHEXP and INSTALLVENDORARCH
- # variables are set to avoid the creation
- # of /usr/lib/perl5
- perl Makefile.PL \
- INSTALLDIRS=vendor \
- VENDORARCHEXP=/usr/share/perl5 \
- INSTALLVENDORARCH=/usr/share/perl5
+ $(PERL) Makefile.PL INSTALLDIRS=vendor
$(MAKE)
$(MAKE) test
touch $@
@@ -21,28 +26,31 @@
clean:
dh_testdir
dh_testroot
+ dh_clean build-stamp install-stamp
+ [ ! -f Makefile ] || $(MAKE) realclean
- dh_clean build-stamp
-
- [ ! -f Makefile ] || $(MAKE) distclean
-
-install: build
+install: install-stamp
+install-stamp: build-stamp
dh_testdir
dh_testroot
- dh_clean -k
- dh_installdirs
+ 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
+ touch $@
- $(MAKE) install PREFIX=$(CURDIR)/debian/libxml-dom-xpath-perl/usr
+binary-arch:
+# We have nothing to do here for an architecture-independent package
-binary-arch: build install
binary-indep: build install
dh_testdir
dh_testroot
+ dh_installdocs
dh_installchangelogs Changes
- dh_installdocs
+ dh_perl
dh_compress
dh_fixperms
- dh_perl
dh_installdeb
dh_gencontrol
dh_md5sums
More information about the Pkg-perl-cvs-commits
mailing list