r21807 - in /trunk/libspiffy-perl/debian: changelog rules
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Tue Jun 17 16:09:58 UTC 2008
Author: gregoa
Date: Tue Jun 17 16:09:58 2008
New Revision: 21807
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=21807
Log:
Refresh debian/rules, no functional changes. Don't install README (text
version of the POD documentation).
Modified:
trunk/libspiffy-perl/debian/changelog
trunk/libspiffy-perl/debian/rules
Modified: trunk/libspiffy-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libspiffy-perl/debian/changelog?rev=21807&op=diff
==============================================================================
--- trunk/libspiffy-perl/debian/changelog (original)
+++ trunk/libspiffy-perl/debian/changelog Tue Jun 17 16:09:58 2008
@@ -16,6 +16,8 @@
* Add /me to Uploaders.
* Set Standards-Version to 3.8.0 (no changes).
* Set debhelper compatibility level to 5.
+ * Refresh debian/rules, no functional changes. Don't install README (text
+ version of the POD documentation).
-- gregor herrmann <gregoa at debian.org> Sun, 15 Jun 2008 17:12:50 +0200
Modified: trunk/libspiffy-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libspiffy-perl/debian/rules?rev=21807&op=diff
==============================================================================
--- trunk/libspiffy-perl/debian/rules (original)
+++ trunk/libspiffy-perl/debian/rules Tue Jun 17 16:09:58 2008
@@ -1,45 +1,52 @@
#!/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)
-
-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
$(PERL) Makefile.PL INSTALLDIRS=vendor
- $(MAKE) OPTIMIZE="$(CFLAGS)"
- touch build-stamp
+ $(MAKE)
+ $(MAKE) test
+ touch $@
clean:
dh_testdir
dh_testroot
- -$(MAKE) distclean
dh_clean build-stamp install-stamp
+ [ ! -f Makefile ] || $(MAKE) realclean
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
dh_testroot
- dh_installdocs README
+ dh_installdocs
dh_installchangelogs Changes
dh_perl
dh_compress
@@ -49,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