r20147 - in /trunk/libtest-deep-perl/debian: changelog rules
emhn-guest at users.alioth.debian.org
emhn-guest at users.alioth.debian.org
Mon May 19 12:51:58 UTC 2008
Author: emhn-guest
Date: Mon May 19 12:51:58 2008
New Revision: 20147
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=20147
Log:
* Refreshed debian/rules using latest templates
Modified:
trunk/libtest-deep-perl/debian/changelog
trunk/libtest-deep-perl/debian/rules
Modified: trunk/libtest-deep-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-deep-perl/debian/changelog?rev=20147&op=diff
==============================================================================
--- trunk/libtest-deep-perl/debian/changelog (original)
+++ trunk/libtest-deep-perl/debian/changelog Mon May 19 12:51:58 2008
@@ -1,6 +1,7 @@
-libtest-deep-perl (0.101-1) UNRELEASED; urgency=low
+libtest-deep-perl (0.101-1) unstable; urgency=low
* New upstream release
+ * Refreshed debian/rules using latest templates
-- Ernesto Hernández-Novich (USB) <emhn at usb.ve> Thu, 15 May 2008 16:02:34 -0430
Modified: trunk/libtest-deep-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-deep-perl/debian/rules?rev=20147&op=diff
==============================================================================
--- trunk/libtest-deep-perl/debian/rules (original)
+++ trunk/libtest-deep-perl/debian/rules Mon May 19 12:51:58 2008
@@ -11,26 +11,24 @@
# 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
+ # Add commands to compile the package here
$(PERL) Makefile.PL INSTALLDIRS=vendor
$(MAKE)
$(MAKE) test
- touch build-stamp
+ touch $@
clean:
dh_testdir
dh_testroot
dh_clean build-stamp install-stamp
+ # Add commands to clean up after the build process here
[ ! -f Makefile ] || $(MAKE) realclean
install: install-stamp
@@ -38,17 +36,20 @@
dh_testdir
dh_testroot
dh_clean -k
+ # Add commands to install the package into $(TMP) here
$(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 TODO
+ dh_installdocs TODO README
dh_installchangelogs CHANGES
dh_perl
dh_compress
@@ -58,8 +59,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