r15442 - in /trunk/libmodule-build-perl/debian: changelog rules
dmn at users.alioth.debian.org
dmn at users.alioth.debian.org
Sat Feb 23 08:02:59 UTC 2008
Author: dmn
Date: Sat Feb 23 08:02:58 2008
New Revision: 15442
URL: http://svn.debian.org/wsvn/?sc=1&rev=15442
Log:
* debian/rules:
+ remove unuser dh_installdirs, dh_installman and dh_link
+ use PERL?=/usr/bin/perl and use $(PERL) ./Build <whatever>
+ use TMP for shorter paths
+ remove stamps before realclean
Modified:
trunk/libmodule-build-perl/debian/changelog
trunk/libmodule-build-perl/debian/rules
Modified: trunk/libmodule-build-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libmodule-build-perl/debian/changelog?rev=15442&op=diff
==============================================================================
--- trunk/libmodule-build-perl/debian/changelog (original)
+++ trunk/libmodule-build-perl/debian/changelog Sat Feb 23 08:02:58 2008
@@ -16,6 +16,11 @@
* debian/copyright:
+ Add license information for scripts/config_data
+ Remove changelog-style signature
+ * debian/rules:
+ + remove unuser dh_installdirs, dh_installman and dh_link
+ + use PERL?=/usr/bin/perl and use $(PERL) ./Build <whatever>
+ + use TMP for shorter paths
+ + remove stamps before realclean
-- gregor herrmann <gregor+debian at comodo.priv.at> Fri, 22 Feb 2008 19:52:59 +0100
Modified: trunk/libmodule-build-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libmodule-build-perl/debian/rules?rev=15442&op=diff
==============================================================================
--- trunk/libmodule-build-perl/debian/rules (original)
+++ trunk/libmodule-build-perl/debian/rules Sat Feb 23 08:02:58 2008
@@ -1,6 +1,6 @@
#!/usr/bin/make -f
-# Sample debian/rules that uses debhelper.
-# GNU copyright 1997 to 1999 by Joey Hess.
+# Sample debian/rules that uses debhelper. GNU copyright 1997 to 1999 by Joey
+# Hess.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
@@ -8,38 +8,39 @@
include /usr/share/quilt/quilt.make
PACKAGE=$(shell dh_listpackages)
-SHAREDIR=$(CURDIR)/debian/$(PACKAGE)/usr/share/$(PACKAGE)
+TMP=$(CURDIR)/debian/$(PACKAGE)
+SHAREDIR=$(TMP)/usr/share/$(PACKAGE)
+PERL?=/usr/bin/perl
build: build-stamp
build-stamp: $(QUILT_STAMPFN)
dh_testdir
- perl Build.PL installdirs=vendor script_files=
- ./Build
- ./Build test
+ $(PERL) Build.PL installdirs=vendor script_files=
+ $(PERL) ./Build
+ $(PERL) ./Build test
touch $@
clean: unpatch
dh_testdir
dh_testroot
- [ ! -f Build ] || ./Build realclean
dh_clean build-stamp install-stamp
+ [ ! -f Build ] || $(PERL) ./Build realclean
install: install-stamp
install-stamp: build-stamp
dh_testdir
dh_testroot
dh_clean -k
- dh_installdirs
- ./Build install destdir=$(CURDIR)/debian/$(PACKAGE) create_packlist=0
+ $(PERL) ./Build install destdir=$(TMP) create_packlist=0
# scripts/config_data is installed in /usr/share/libmodule-build-perl
# for historical reasons (?)
install -d $(SHAREDIR)
install -m755 scripts/* $(SHAREDIR)
- [ ! -d $(CURDIR)/debian/$(PACKAGE)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(CURDIR)/debian/$(PACKAGE)/usr/lib/perl5
+ [ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
touch $@
binary-arch:
@@ -49,9 +50,7 @@
dh_testdir
dh_testroot
dh_installdocs
- dh_installman
dh_installchangelogs Changes
- dh_link
dh_compress
dh_fixperms
dh_installdeb
More information about the Pkg-perl-cvs-commits
mailing list