r16172 - in /trunk/libdatetime-format-w3cdtf-perl/debian: changelog rules
gregoa-guest at users.alioth.debian.org
gregoa-guest at users.alioth.debian.org
Sun Mar 2 00:01:46 UTC 2008
Author: gregoa-guest
Date: Sun Mar 2 00:01:44 2008
New Revision: 16172
URL: http://svn.debian.org/wsvn/?sc=1&rev=16172
Log:
debian/rules:
- remove OPTIMIZE, we don't compile anything
- let install-stamp target depend on build-stamp
- don't ignore errors of make distclean
- move dh_clean before make distclean
- move test suite to build-stamp target
- remove commented out or unneeded dh_* calls
- don't install README any more (a couple of lines with installation
notes)
Modified:
trunk/libdatetime-format-w3cdtf-perl/debian/changelog
trunk/libdatetime-format-w3cdtf-perl/debian/rules
Modified: trunk/libdatetime-format-w3cdtf-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libdatetime-format-w3cdtf-perl/debian/changelog?rev=16172&op=diff
==============================================================================
--- trunk/libdatetime-format-w3cdtf-perl/debian/changelog (original)
+++ trunk/libdatetime-format-w3cdtf-perl/debian/changelog Sun Mar 2 00:01:44 2008
@@ -9,8 +9,17 @@
* debian/watch: use dist-based URL.
* debian/copyright: add upstream source location and actual copyright
notice, convert to new format.
+ * debian/rules:
+ - remove OPTIMIZE, we don't compile anything
+ - let install-stamp target depend on build-stamp
+ - don't ignore errors of make distclean
+ - move dh_clean before make distclean
+ - move test suite to build-stamp target
+ - remove commented out or unneeded dh_* calls
+ - don't install README any more (a couple of lines with installation
+ notes)
- -- gregor herrmann <gregor+debian at comodo.priv.at> Sun, 02 Mar 2008 00:57:03 +0100
+ -- gregor herrmann <gregor+debian at comodo.priv.at> Sun, 02 Mar 2008 00:57:38 +0100
libdatetime-format-w3cdtf-perl (0.04-2) unstable; urgency=low
Modified: trunk/libdatetime-format-w3cdtf-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libdatetime-format-w3cdtf-perl/debian/rules?rev=16172&op=diff
==============================================================================
--- trunk/libdatetime-format-w3cdtf-perl/debian/rules (original)
+++ trunk/libdatetime-format-w3cdtf-perl/debian/rules Sun Mar 2 00:01:44 2008
@@ -23,9 +23,9 @@
build-stamp:
dh_testdir
- # Add commands to compile the package here
$(PERL) Makefile.PL INSTALLDIRS=vendor
- $(MAKE) OPTIMIZE="-Wall -O2 -g"
+ $(MAKE)
+ $(MAKE) test
touch build-stamp
@@ -33,24 +33,16 @@
dh_testdir
dh_testroot
- # Add commands to clean up after the build process here
- -$(MAKE) distclean
+ dh_clean build-stamp install-stamp
+ [ ! -f Makefile ] || $(MAKE) 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
- $(MAKE) test
$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-
- # As this is a architecture independent package, we are not
- # supposed to install stuff to /usr/lib. MakeMaker creates
- # the dirs, we delete them from the deb:
[ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
touch install-stamp
@@ -61,14 +53,9 @@
binary-indep: build install
dh_testdir
dh_testroot
-# dh_installcron
-# dh_installmenu
-# dh_installexamples
- dh_installdocs README
+ dh_installdocs
dh_installchangelogs Changes
dh_perl
- dh_link
- dh_strip
dh_compress
dh_fixperms
dh_installdeb
More information about the Pkg-perl-cvs-commits
mailing list