r22814 - in /trunk/libgssapi-perl/debian: changelog rules

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Sat Jul 5 19:32:52 UTC 2008


Author: gregoa
Date: Sat Jul  5 19:32:52 2008
New Revision: 22814

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

Modified:
    trunk/libgssapi-perl/debian/changelog
    trunk/libgssapi-perl/debian/rules

Modified: trunk/libgssapi-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgssapi-perl/debian/changelog?rev=22814&op=diff
==============================================================================
--- trunk/libgssapi-perl/debian/changelog (original)
+++ trunk/libgssapi-perl/debian/changelog Sat Jul  5 19:32:52 2008
@@ -15,6 +15,7 @@
     author/copyright/license information from upstream README.
   * Add /me to Uploaders.
   * Set Standards-Version to 3.8.0 (no changes).
+  * Refresh debian/rules, no functional changes.
 
  -- gregor herrmann <gregoa at debian.org>  Sun, 15 Jun 2008 18:45:59 +0200
 

Modified: trunk/libgssapi-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgssapi-perl/debian/rules?rev=22814&op=diff
==============================================================================
--- trunk/libgssapi-perl/debian/rules (original)
+++ trunk/libgssapi-perl/debian/rules Sat Jul  5 19:32:52 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,27 +29,29 @@
 	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
@@ -51,19 +60,15 @@
 	dh_installexamples examples/*
 	dh_installdocs README
 	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