r16603 - in /trunk/libcarp-assert-more-perl/debian: changelog rules
dmn at users.alioth.debian.org
dmn at users.alioth.debian.org
Thu Mar 6 14:56:02 UTC 2008
Author: dmn
Date: Thu Mar 6 14:56:00 2008
New Revision: 16603
URL: http://svn.debian.org/wsvn/?sc=1&rev=16603
Log:
* debian/rules: clean up
Modified:
trunk/libcarp-assert-more-perl/debian/changelog
trunk/libcarp-assert-more-perl/debian/rules
Modified: trunk/libcarp-assert-more-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libcarp-assert-more-perl/debian/changelog?rev=16603&op=diff
==============================================================================
--- trunk/libcarp-assert-more-perl/debian/changelog (original)
+++ trunk/libcarp-assert-more-perl/debian/changelog Thu Mar 6 14:56:00 2008
@@ -14,6 +14,7 @@
* debian/watch: use dist-based URL.
* Standards-Version: 3.7.3 (no changes needed)
* Bump debhelper compatibility level to 5
+ * debian/rules: clean up
-- Joachim Breitner <nomeata at debian.org> Mon, 11 Feb 2008 20:24:58 +0000
Modified: trunk/libcarp-assert-more-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libcarp-assert-more-perl/debian/rules?rev=16603&op=diff
==============================================================================
--- trunk/libcarp-assert-more-perl/debian/rules (original)
+++ trunk/libcarp-assert-more-perl/debian/rules Thu Mar 6 14:56:00 2008
@@ -19,33 +19,23 @@
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:
dh_testdir
# Add commands to compile the package here
$(PERL) Makefile.PL INSTALLDIRS=vendor
- $(MAKE) OPTIMIZE="$(CFLAGS)"
+ $(MAKE)
+ $(MAKE) test
- touch build-stamp
+ touch $@
clean:
dh_testdir
dh_testroot
- # Add commands to clean up after the build process here
- -$(MAKE) distclean
-
dh_clean build-stamp install-stamp
+ [ ! -e Makefile ] || $(MAKE) distclean
install: install-stamp
install-stamp: build-stamp
@@ -53,14 +43,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.
@@ -68,14 +57,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
@@ -87,4 +71,4 @@
@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