r21728 - in /trunk/libxml-sax-writer-perl/debian: changelog rules

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Mon Jun 16 15:55:06 UTC 2008


Author: gregoa
Date: Mon Jun 16 15:55:05 2008
New Revision: 21728

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

Modified:
    trunk/libxml-sax-writer-perl/debian/changelog
    trunk/libxml-sax-writer-perl/debian/rules

Modified: trunk/libxml-sax-writer-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-sax-writer-perl/debian/changelog?rev=21728&op=diff
==============================================================================
--- trunk/libxml-sax-writer-perl/debian/changelog (original)
+++ trunk/libxml-sax-writer-perl/debian/changelog Mon Jun 16 15:55:05 2008
@@ -17,6 +17,7 @@
   * Set debhelper compatibility level to 5.
   * debian/copyright: point to a specific download location instead of CPAN at
     large; add copyright/license for third-party code.
+  * Refresh debian/rules, no functional changes.
 
  -- gregor herrmann <gregoa at debian.org>  Sun, 15 Jun 2008 18:11:20 +0200
 

Modified: trunk/libxml-sax-writer-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-sax-writer-perl/debian/rules?rev=21728&op=diff
==============================================================================
--- trunk/libxml-sax-writer-perl/debian/rules (original)
+++ trunk/libxml-sax-writer-perl/debian/rules Mon Jun 16 15:55:05 2008
@@ -1,43 +1,49 @@
 #!/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)
+include /usr/share/quilt/quilt.make
 
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
-TMP     =$(CURDIR)/debian/$(PACKAGE)
-
-include /usr/share/quilt/quilt.make
+PERL   ?= /usr/bin/perl
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
 
 build: build-stamp
 build-stamp: $(QUILT_STAMPFN)
 	dh_testdir
 	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE) OPTIMIZE="-Wall -O2 -g"
-	touch build-stamp
+	$(MAKE)
+	$(MAKE) test
+	touch $@
 
 clean: unpatch
 	dh_testdir
 	dh_testroot
-	rm -f build-stamp install-stamp test_file1 test_file2
+	dh_clean build-stamp install-stamp test_file1 test_file2
 	[ ! -f Makefile ] || $(MAKE) realclean
-	dh_clean
 
-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/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
@@ -45,8 +51,6 @@
 	dh_installdocs
 	dh_installchangelogs Changes
 	dh_perl
-	dh_link
-	dh_strip
 	dh_compress
 	dh_fixperms
 	dh_installdeb
@@ -54,8 +58,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 patch unpatch clean1
+.PHONY: build clean binary-indep binary-arch binary install




More information about the Pkg-perl-cvs-commits mailing list