r22844 - in /trunk/libxml-libxslt-perl/debian: changelog rules

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Sun Jul 6 01:56:44 UTC 2008


Author: gregoa
Date: Sun Jul  6 01:56:44 2008
New Revision: 22844

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=22844
Log:
Refresh debian/rules, no functional changes.

Modified:
    trunk/libxml-libxslt-perl/debian/changelog
    trunk/libxml-libxslt-perl/debian/rules

Modified: trunk/libxml-libxslt-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-libxslt-perl/debian/changelog?rev=22844&op=diff
==============================================================================
--- trunk/libxml-libxslt-perl/debian/changelog (original)
+++ trunk/libxml-libxslt-perl/debian/changelog Sun Jul  6 01:56:44 2008
@@ -18,6 +18,7 @@
   * Set debhelper compatibility level to 5.
   * Bump (build) dependencies on libxml-libxml-perl and libxslt1-dev according
     to new upstream requirements.
+  * Refresh debian/rules, no functional changes.
 
  -- gregor herrmann <gregoa at debian.org>  Sun, 15 Jun 2008 19:07:57 +0200
 

Modified: trunk/libxml-libxslt-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-libxslt-perl/debian/rules?rev=22844&op=diff
==============================================================================
--- trunk/libxml-libxslt-perl/debian/rules (original)
+++ trunk/libxml-libxslt-perl/debian/rules Sun Jul  6 01:56:44 2008
@@ -1,15 +1,22 @@
 #!/usr/bin/make -f
+# 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
 
-PACKAGE=$(shell dh_listpackages)
+PERL   ?= /usr/bin/perl
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
 
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
-TMP     =$(CURDIR)/debian/$(PACKAGE)
-
+# Allow disabling build optimisation by setting noopt in
+# $DEB_BUILD_OPTIONS
 CFLAGS = -Wall -g
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
         CFLAGS += -O0
@@ -22,48 +29,46 @@
 	dh_testdir
 	$(PERL) Makefile.PL INSTALLDIRS=vendor
 	$(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
-	touch build-stamp
+	$(MAKE) test
+	touch $@
 
 clean:
 	dh_testdir
 	dh_testroot
+	dh_clean build-stamp install-stamp
 	[ ! -f Makefile ] || $(MAKE) realclean
-	dh_clean build-stamp install-stamp
 
-install: build install-stamp
-install-stamp:
+install: install-stamp
+install-stamp: build-stamp
 	dh_testdir
 	dh_testroot
 	dh_clean -k
-	$(MAKE) test
 	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-	[ ! -d $(TMP)/usr/share/perl5 ] || rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/share/perl5
-	touch install-stamp
+	[ ! -d $(TMP)/usr/share/perl5 ] || \
+		rmdir --ignore-fail-on-non-empty --parents --verbose \
+		$(TMP)/usr/share/perl5
+	touch $@
 
 # Build architecture-independent files here.
 binary-indep: build install
-# We have nothing to do by default.
+# We have nothing to do here for an architecture-dependent package
 
 # Build architecture-dependent files here.
 binary-arch: build install
 	dh_testdir
 	dh_testroot
+	dh_installexamples example/*
 	dh_installdocs
-	dh_installexamples example/*
 	dh_installchangelogs Changes
+	dh_shlibdeps
 	dh_strip
+	dh_perl
 	dh_compress
 	dh_fixperms
-	dh_makeshlibs
 	dh_installdeb
-	dh_perl 
-	dh_shlibdeps
 	dh_gencontrol
 	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