r22017 - in /trunk/libxml-csv-perl/debian: changelog libxml-csv-perl.docs rules
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Fri Jun 20 21:51:14 UTC 2008
Author: gregoa
Date: Fri Jun 20 21:51:14 2008
New Revision: 22017
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=22017
Log:
* Refresh debian/rules, no functional changes.
* Delete debian/libxml-csv-perl.docs, don't install README any more.
Removed:
trunk/libxml-csv-perl/debian/libxml-csv-perl.docs
Modified:
trunk/libxml-csv-perl/debian/changelog
trunk/libxml-csv-perl/debian/rules
Modified: trunk/libxml-csv-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-csv-perl/debian/changelog?rev=22017&op=diff
==============================================================================
--- trunk/libxml-csv-perl/debian/changelog (original)
+++ trunk/libxml-csv-perl/debian/changelog Fri Jun 20 21:51:14 2008
@@ -10,6 +10,8 @@
(Text::CSV_XS has moved to the latter package); closes: #487010.
* Set urgency to medium because of the fix for an RC bug.
* debian/watch: extended regexp for matching upstream releases.
+ * Refresh debian/rules, no functional changes.
+ * Delete debian/libxml-csv-perl.docs, don't install README any more.
-- gregor herrmann <gregor+debian at comodo.priv.at> Sat, 01 Dec 2007 18:55:30 +0100
Modified: trunk/libxml-csv-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-csv-perl/debian/rules?rev=22017&op=diff
==============================================================================
--- trunk/libxml-csv-perl/debian/rules (original)
+++ trunk/libxml-csv-perl/debian/rules Fri Jun 20 21:51:14 2008
@@ -1,54 +1,60 @@
#!/usr/bin/make -f
-# Sample debian/rules that uses debhelper.
-# GNU copyright 1997 to 1999 by Joey Hess.
+# 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
-# This is the debhelper compatibility version to use.
-# export DH_COMPAT=4
+# 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
-PACKAGE=`pwd | sed -e "s/.*\/\\(.*\\)-.*/\\1/"`
+PERL ?= /usr/bin/perl
+PACKAGE = $(shell dh_listpackages)
+TMP = $(CURDIR)/debian/$(PACKAGE)
+build: build-stamp
+build-stamp:
+ dh_testdir
+ $(PERL) Makefile.PL INSTALLDIRS=vendor
+ $(MAKE)
+ $(MAKE) test
+ touch $@
-build:
- dh_testdir
- # Add here commands to compile the package.
- perl Makefile.PL verbose INSTALLDIRS=vendor
clean:
dh_testdir
dh_testroot
+ dh_clean build-stamp install-stamp *.xml
+ [ ! -f Makefile ] || $(MAKE) realclean
- -$(MAKE) clean
- rm -f Makefile.old
- rm -f *.xml
- dh_clean
-
-install:
+install: install-stamp
+install-stamp: build-stamp
dh_testdir
dh_testroot
dh_clean -k
- dh_installdirs
+ $(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) PREFIX=$(CURDIR)/debian/$(PACKAGE)/usr OPTIMIZE="-O2 -g -Wall" test install
- [ ! -d $(CURDIR)/debian/$(shell dh_listpackages)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(CURDIR)/debian/$(shell dh_listpackages)/usr/lib/perl5
+binary-arch:
+# We have nothing to do here for an architecture-independent package
-binary-arch:;
binary-indep: build install
dh_testdir
dh_testroot
dh_installdocs
- dh_installman
dh_installchangelogs CHANGES
- dh_link
- dh_strip
+ dh_perl
dh_compress
dh_fixperms
dh_installdeb
- dh_perl
dh_gencontrol
dh_md5sums
dh_builddeb
binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+.PHONY: build clean binary-indep binary-arch binary install
More information about the Pkg-perl-cvs-commits
mailing list