r19876 - in /trunk/libmodule-scandeps-perl/debian: changelog rules
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Sun May 11 23:11:45 UTC 2008
Author: gregoa
Date: Sun May 11 23:11:44 2008
New Revision: 19876
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=19876
Log:
Refresh debian/rules, no functional changes.
Modified:
trunk/libmodule-scandeps-perl/debian/changelog
trunk/libmodule-scandeps-perl/debian/rules
Modified: trunk/libmodule-scandeps-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-scandeps-perl/debian/changelog?rev=19876&op=diff
==============================================================================
--- trunk/libmodule-scandeps-perl/debian/changelog (original)
+++ trunk/libmodule-scandeps-perl/debian/changelog Sun May 11 23:11:44 2008
@@ -4,6 +4,7 @@
alternative to the (build) dependency on libmodule-build-perl (cf.
#480727).
* debian/copyright: update years of upstream copyright.
+ * Refresh debian/rules, no functional changes.
-- gregor herrmann <gregoa at debian.org> Mon, 12 May 2008 01:02:03 +0200
Modified: trunk/libmodule-scandeps-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-scandeps-perl/debian/rules?rev=19876&op=diff
==============================================================================
--- trunk/libmodule-scandeps-perl/debian/rules (original)
+++ trunk/libmodule-scandeps-perl/debian/rules Sun May 11 23:11:44 2008
@@ -11,30 +11,23 @@
# always return the default without waiting for user input.
export PERL_MM_USE_DEFAULT=1
-PACKAGE=$(shell dh_listpackages)
+include /usr/share/quilt/quilt.make
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
-TMP =$(CURDIR)/debian/$(PACKAGE)
-
-include /usr/share/quilt/quilt.make
+PERL ?= /usr/bin/perl
+PACKAGE = $(shell dh_listpackages)
+TMP = $(CURDIR)/debian/$(PACKAGE)
build: build-stamp
build-stamp: $(QUILT_STAMPFN)
dh_testdir
-
$(PERL) Makefile.PL INSTALLDIRS=vendor
$(MAKE)
$(MAKE) test
-
touch $@
clean: unpatch
dh_testdir
dh_testroot
-
dh_clean build-stamp install-stamp
[ ! -f Makefile ] || $(MAKE) realclean
@@ -43,15 +36,15 @@
dh_testdir
dh_testroot
dh_clean -k
-
$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-
+ [ ! -d $(TMP)/usr/lib/perl5 ] || \
+ rmdir --ignore-fail-on-non-empty --parents --verbose \
+ $(TMP)/usr/lib/perl5
# no extensions in PATH
- [ ! -f $(TMP)/usr/bin/scandeps.pl ] || mv $(TMP)/usr/bin/scandeps.pl $(TMP)/usr/bin/scandeps
- [ ! -f $(TMP)/usr/share/man/man1/scandeps.pl.1p ] || mv $(TMP)/usr/share/man/man1/scandeps.pl.1p $(TMP)/usr/share/man/man1/scandeps.1p
-
- [ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
-
+ [ ! -f $(TMP)/usr/bin/scandeps.pl ] || \
+ mv $(TMP)/usr/bin/scandeps.pl $(TMP)/usr/bin/scandeps
+ [ ! -f $(TMP)/usr/share/man/man1/scandeps.pl.1p ] || \
+ mv $(TMP)/usr/share/man/man1/scandeps.pl.1p $(TMP)/usr/share/man/man1/scandeps.1p
touch $@
binary-arch:
@@ -70,8 +63,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