r23448 - in /trunk/perlindex/debian: changelog rules
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Mon Jul 21 18:37:22 UTC 2008
Author: gregoa
Date: Mon Jul 21 18:37:20 2008
New Revision: 23448
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=23448
Log:
Refresh debian/rules, no functional changes.
Modified:
trunk/perlindex/debian/changelog
trunk/perlindex/debian/rules
Modified: trunk/perlindex/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/perlindex/debian/changelog?rev=23448&op=diff
==============================================================================
--- trunk/perlindex/debian/changelog (original)
+++ trunk/perlindex/debian/changelog Mon Jul 21 18:37:20 2008
@@ -14,6 +14,7 @@
file (closes: #458928), thanks to Slaven Rezic for the bug report.
* debian/*.copyright: use author-independent download URLs, update
copyright/license information.
+ * Refresh debian/rules, no functional changes.
-- gregor herrmann <gregoa at debian.org> Sun, 15 Jun 2008 17:48:26 +0200
Modified: trunk/perlindex/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/perlindex/debian/rules?rev=23448&op=diff
==============================================================================
--- trunk/perlindex/debian/rules (original)
+++ trunk/perlindex/debian/rules Mon Jul 21 18:37:20 2008
@@ -1,38 +1,35 @@
#!/usr/bin/make -f
-ifndef PERL
- PERL=/usr/bin/perl
-endif
+export PERL_MM_USE_DEFAULT=1
-configure: configure-stamp
-configure-stamp:
+PERL ?= /usr/bin/perl
+
+include /usr/share/quilt/quilt.make
+
+build: build-stamp
+build-stamp: $(QUILT_STAMPFN)
dh_testdir
$(PERL) Makefile.PL INSTALLDIRS=vendor
- touch configure-stamp
-
-build: build-stamp
-
-build-stamp: configure-stamp patch
- dh_testdir
$(MAKE) INDEXDIR=/var/cache/perlindex
$(MAKE) test
- touch build-stamp
+ touch $@
-clean: clean1 unpatch
-clean1:
+clean: unpatch
dh_testdir
dh_testroot
- -$(MAKE) realclean
- dh_clean configure-stamp build-stamp
+ dh_clean build-stamp install-stamp
+ [ ! -f Makefile ] || $(MAKE) realclean
-install: build-stamp
+install: install-stamp
+install-stamp: build-stamp
dh_testdir
dh_testroot
- dh_clean -k
+ dh_clean -k
dh_installdirs
$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
install -d $(CURDIR)/debian/tmp/etc/perlindex
cp debian/configfile $(CURDIR)/debian/tmp/etc/perlindex/config
+ touch $@
# Build architecture-independent files here.
binary-indep: build install
@@ -43,7 +40,6 @@
dh_installdocs
dh_installdebconf
dh_installcron
- dh_installman
dh_compress
dh_fixperms
dh_perl
@@ -52,18 +48,9 @@
dh_md5sums
dh_builddeb
-patch: $(QUILT_STAMPFN)
-$(QUILT_STAMPFN):
- dpatch apply-all
- touch $(QUILT_STAMPFN)
-
-unpatch:
- dpatch deapply-all
- rm -rf $(QUILT_STAMPFN) debian/patched
-
# Build architecture-dependent files here.
binary-arch: build install
# We have nothing to do by default.
binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure patch unpatch clean1
+.PHONY: build clean binary-indep binary-arch binary install
More information about the Pkg-perl-cvs-commits
mailing list