r20993 - in /trunk/libdbix-class-perl/debian: changelog rules
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Sat Jun 14 13:00:15 UTC 2008
Author: gregoa
Date: Sat Jun 14 13:00:15 2008
New Revision: 20993
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=20993
Log:
* debian/rules:
- refresh against current dh-make-perl template
- don't install README any more (text version of the inline POD
documentation)
- remove exec bit from *.pod files
Modified:
trunk/libdbix-class-perl/debian/changelog
trunk/libdbix-class-perl/debian/rules
Modified: trunk/libdbix-class-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbix-class-perl/debian/changelog?rev=20993&op=diff
==============================================================================
--- trunk/libdbix-class-perl/debian/changelog (original)
+++ trunk/libdbix-class-perl/debian/changelog Sat Jun 14 13:00:15 2008
@@ -13,6 +13,11 @@
- wrap long lines
- add me to Uploaders
* Set urgency to medium because of the fix on an RC bug.
+ * debian/rules:
+ - refresh against current dh-make-perl template
+ - don't install README any more (text version of the inline POD
+ documentation)
+ - remove exec bit from *.pod files
-- gregor herrmann <gregoa at debian.org> Sat, 14 Jun 2008 14:12:52 +0200
Modified: trunk/libdbix-class-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbix-class-perl/debian/rules?rev=20993&op=diff
==============================================================================
--- trunk/libdbix-class-perl/debian/rules (original)
+++ trunk/libdbix-class-perl/debian/rules Sat Jun 14 13:00:15 2008
@@ -1,51 +1,59 @@
#!/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 --skipdeps
- $(MAKE) OPTIMIZE="-Wall -O2 -g"
- touch build-stamp
+ $(MAKE)
+ # enables pod-coverage test which unfortunately fails
+ # TEST_POD=1 $(MAKE) test
+ $(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
- touch install-stamp
+ find $(TMP)/usr/share/perl5/DBIx/Class/ -type f -name "*.pod" -print0 | \
+ xargs -r0 chmod -x
+ [ ! -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_installexamples script/*
- dh_installdocs README
+ dh_installdocs
dh_installchangelogs Changes
dh_perl
- dh_link
- dh_strip
dh_compress
dh_fixperms
dh_installdeb
@@ -53,8 +61,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