r17817 - in /trunk/libsmart-comments-perl/debian: changelog rules
dmn at users.alioth.debian.org
dmn at users.alioth.debian.org
Tue Mar 18 15:10:27 UTC 2008
Author: dmn
Date: Tue Mar 18 15:10:26 2008
New Revision: 17817
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=17817
Log:
* debian/rules - rewrite using dh-make-perl template
+ do not install .packlist file
Modified:
trunk/libsmart-comments-perl/debian/changelog
trunk/libsmart-comments-perl/debian/rules
Modified: trunk/libsmart-comments-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsmart-comments-perl/debian/changelog?rev=17817&op=diff
==============================================================================
--- trunk/libsmart-comments-perl/debian/changelog (original)
+++ trunk/libsmart-comments-perl/debian/changelog Tue Mar 18 15:10:26 2008
@@ -9,6 +9,8 @@
[ Damyan Ivanov ]
* New upstream release
* Standards-Version: 3.7.3 (no changes required)
+ * debian/rules - rewrite using dh-make-perl template
+ + do not install .packlist file
-- Damyan Ivanov <dmn at debian.org> Tue, 18 Mar 2008 17:01:14 +0200
Modified: trunk/libsmart-comments-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsmart-comments-perl/debian/rules?rev=17817&op=diff
==============================================================================
--- trunk/libsmart-comments-perl/debian/rules (original)
+++ trunk/libsmart-comments-perl/debian/rules Tue Mar 18 15:10:26 2008
@@ -14,59 +14,44 @@
# 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) Build.PL installdirs=vendor
- OPTIMIZE="-Wall -O2 -g" $(PERL) Build
-
- touch build-stamp
+ $(PERL) Build
+ $(PERL) test
+ touch $@
clean:
dh_testdir
dh_testroot
-
+ dh_clean build-stamp install-stamp
# Add commands to clean up after the build process here
[ ! -f Build ] || $(PERL) Build distclean
- 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
-
- # Add commands to install the package into debian/$PACKAGE_NAME here
- $(PERL) Build test
- $(PERL) Build install destdir=$(TMP)
-
- touch install-stamp
+ # Add commands to install the package into $(TMP) here
+ $(PERL) Build install destdir=$(TMP) create_packlist=0
+ 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_installcron
-# dh_installmenu
-# dh_installexamples
dh_installdocs
dh_installchangelogs Changes
dh_perl
- dh_link
- dh_strip
dh_compress
dh_fixperms
dh_installdeb
@@ -74,8 +59,8 @@
dh_md5sums
dh_builddeb
-source diff:
+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 source diff
More information about the Pkg-perl-cvs-commits
mailing list