r23790 - in /trunk/libcontextual-return-perl/debian: changelog rules
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Tue Aug 5 03:58:24 UTC 2008
Author: gregoa
Date: Tue Aug 5 03:58:21 2008
New Revision: 23790
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=23790
Log:
Refresh debian/rules, no functional changes, except: don't create
.packlist any more.
Modified:
trunk/libcontextual-return-perl/debian/changelog
trunk/libcontextual-return-perl/debian/rules
Modified: trunk/libcontextual-return-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcontextual-return-perl/debian/changelog?rev=23790&op=diff
==============================================================================
--- trunk/libcontextual-return-perl/debian/changelog (original)
+++ trunk/libcontextual-return-perl/debian/changelog Tue Aug 5 03:58:21 2008
@@ -5,6 +5,8 @@
Vcs-Svn fields.
* debian/watch: use dist-based URL.
* Remove Makefile and Makefile.old from source package.
+ * Refresh debian/rules, no functional changes, except: don't create
+ .packlist any more.
-- gregor herrmann <gregor+debian at comodo.priv.at> Tue, 09 Oct 2007 22:28:20 +0200
Modified: trunk/libcontextual-return-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcontextual-return-perl/debian/rules?rev=23790&op=diff
==============================================================================
--- trunk/libcontextual-return-perl/debian/rules (original)
+++ trunk/libcontextual-return-perl/debian/rules Tue Aug 5 03:58:21 2008
@@ -1,63 +1,54 @@
#!/usr/bin/make -f
-export DH_VERBOSE=1
+# 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.
+#
+# It was later modified by Jason Kohles <email at jasonkohles.com>
+# http://www.jasonkohles.com/ to support Module::Build installed modules
+
+# 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)
-
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
-TMP =$(CURDIR)/debian/$(PACKAGE)
+PERL ?= /usr/bin/perl
+PACKAGE = $(shell dh_listpackages)
+TMP = $(CURDIR)/debian/$(PACKAGE)
build: build-stamp
build-stamp:
dh_testdir
-
- # Add commands to compile the package here
$(PERL) Build.PL installdirs=vendor
- OPTIMIZE="-Wall -O2 -g" $(PERL) Build
-
- touch build-stamp
+ $(PERL) Build
+ $(PERL) Build test
+ touch $@
clean:
dh_testdir
dh_testroot
+ dh_clean build-stamp install-stamp
+ [ ! -f Build ] || $(PERL) Build --allow_mb_mismatch 1 distclean
- # Add commands to clean up after the build process here
- [ ! -f Build ] || $(PERL) Build distclean
-
- 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
-
- # Add commands to install the package into debian/$PACKAGE_NAME here
- $(PERL) Build test
- $(PERL) Build install destdir=$(TMP)
-
- touch install-stamp
+ $(PERL) Build install destdir=$(TMP) create_packlist=0
+ 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
dh_testroot
-# dh_installcron
-# dh_installmenu
-# dh_installexamples
dh_installdocs README
dh_installchangelogs Changes
dh_perl
- dh_link
- dh_strip
dh_compress
dh_fixperms
dh_installdeb
@@ -65,8 +56,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
+.PHONY: build clean binary-indep binary-arch binary install
More information about the Pkg-perl-cvs-commits
mailing list