r19495 - in /trunk/libclass-std-perl/debian: changelog rules
dmn at users.alioth.debian.org
dmn at users.alioth.debian.org
Tue May 6 10:00:41 UTC 2008
Author: dmn
Date: Tue May 6 10:00:39 2008
New Revision: 19495
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=19495
Log:
* refreh debian/rules using current dh-make-perl template
+ do not install README as it is useless
+ install examples in demo/
Modified:
trunk/libclass-std-perl/debian/changelog
trunk/libclass-std-perl/debian/rules
Modified: trunk/libclass-std-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-std-perl/debian/changelog?rev=19495&op=diff
==============================================================================
--- trunk/libclass-std-perl/debian/changelog (original)
+++ trunk/libclass-std-perl/debian/changelog Tue May 6 10:00:39 2008
@@ -10,6 +10,9 @@
* add myself to Uploaders
* New upstream release
+ * refreh debian/rules using current dh-make-perl template
+ + do not install README as it is useless
+ + install examples in demo/
-- Damyan Ivanov <dmn at debian.org> Tue, 06 May 2008 12:45:57 +0300
Modified: trunk/libclass-std-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-std-perl/debian/rules?rev=19495&op=diff
==============================================================================
--- trunk/libclass-std-perl/debian/rules (original)
+++ trunk/libclass-std-perl/debian/rules Tue May 6 10:00:39 2008
@@ -14,59 +14,45 @@
# 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) Build 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 --allow_mb_mismatch 1 distclean
- # 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 README
+ dh_installdocs
+ dh_installexamples demo
dh_installchangelogs Changes
dh_perl
- dh_link
- dh_strip
dh_compress
dh_fixperms
dh_installdeb
@@ -74,8 +60,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