r15457 - in /trunk/libclass-inner-perl/debian: changelog rules
gregoa-guest at users.alioth.debian.org
gregoa-guest at users.alioth.debian.org
Sat Feb 23 17:17:06 UTC 2008
Author: gregoa-guest
Date: Sat Feb 23 17:17:05 2008
New Revision: 15457
URL: http://svn.debian.org/wsvn/?sc=1&rev=15457
Log:
debian/rules:
- remove compiler flags, this package is arch:all
- remove spurious whitespace, commented out dh_* calls
- move tests to build-stamp target
- use $@ for touching stamp-files
- don't ignore errors of make distclean
- move dh_clean before make distclean
- don't install README any more, no useful information for users
Modified:
trunk/libclass-inner-perl/debian/changelog
trunk/libclass-inner-perl/debian/rules
Modified: trunk/libclass-inner-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libclass-inner-perl/debian/changelog?rev=15457&op=diff
==============================================================================
--- trunk/libclass-inner-perl/debian/changelog (original)
+++ trunk/libclass-inner-perl/debian/changelog Sat Feb 23 17:17:05 2008
@@ -10,8 +10,16 @@
* Set Standards-Version to 3.7.3 (no changes).
* Set debhelper compatibility level to 6.
* debian/watch: use dist-based URL.
+ * debian/rules:
+ - remove compiler flags, this package is arch:all
+ - remove spurious whitespace, commented out dh_* calls
+ - move tests to build-stamp target
+ - use $@ for touching stamp-files
+ - don't ignore errors of make distclean
+ - move dh_clean before make distclean
+ - don't install README any more, no useful information for users
- -- gregor herrmann <gregor+debian at comodo.priv.at> Sat, 23 Feb 2008 18:09:24 +0100
+ -- gregor herrmann <gregor+debian at comodo.priv.at> Sat, 23 Feb 2008 18:10:57 +0100
libclass-inner-perl (0.1-4) unstable; urgency=low
Modified: trunk/libclass-inner-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libclass-inner-perl/debian/rules?rev=15457&op=diff
==============================================================================
--- trunk/libclass-inner-perl/debian/rules (original)
+++ trunk/libclass-inner-perl/debian/rules Sat Feb 23 17:17:05 2008
@@ -21,33 +21,24 @@
TMP =$(CURDIR)/debian/$(PACKAGE)
-# Allow disabling build optimation by setting noopt in
-# $DEB_BUILD_OPTIONS
-CFLAGS = -Wall -g
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
- CFLAGS += -O0
-else
- CFLAGS += -O2
-endif
-
build: build-stamp
build-stamp: $(QUILT_STAMPFN)
dh_testdir
# Add commands to compile the package here
$(PERL) Makefile.PL INSTALLDIRS=vendor
- $(MAKE) OPTIMIZE="$(CFLAGS)"
-
- touch build-stamp
+ $(MAKE)
+ $(MAKE) test
+
+ touch $@
clean: unpatch
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
+
install: install-stamp
install-stamp: build-stamp
@@ -55,14 +46,13 @@
dh_testroot
dh_clean -k
- $(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
+ touch $@
binary-arch:
# We have nothing to do by default.
@@ -70,14 +60,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
@@ -85,7 +70,7 @@
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
More information about the Pkg-perl-cvs-commits
mailing list