r9075 - in /trunk/libclass-factory-perl/debian: changelog rules
gregoa-guest at users.alioth.debian.org
gregoa-guest at users.alioth.debian.org
Fri Nov 9 15:41:58 UTC 2007
Author: gregoa-guest
Date: Fri Nov 9 15:41:58 2007
New Revision: 9075
URL: http://svn.debian.org/wsvn/?sc=1&rev=9075
Log:
debian/rules:
- Don't ignore errors of make distclean.
- Cleanup (comments, compiler arguments, unused dh_* calls).
Modified:
trunk/libclass-factory-perl/debian/changelog
trunk/libclass-factory-perl/debian/rules
Modified: trunk/libclass-factory-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libclass-factory-perl/debian/changelog?rev=9075&op=diff
==============================================================================
--- trunk/libclass-factory-perl/debian/changelog (original)
+++ trunk/libclass-factory-perl/debian/changelog Fri Nov 9 15:41:58 2007
@@ -6,8 +6,11 @@
Vcs-Svn fields.
* debian/copyright: Add upstream URL and update copyright information and
list of authors.
+ * debian/rules:
+ - Don't ignore errors of make distclean.
+ - Cleanup (comments, compiler arguments, unused dh_* calls).
- -- gregor herrmann <gregor+debian at comodo.priv.at> Fri, 09 Nov 2007 16:34:46 +0100
+ -- gregor herrmann <gregor+debian at comodo.priv.at> Fri, 09 Nov 2007 16:37:51 +0100
libclass-factory-perl (1.05-1) unstable; urgency=low
Modified: trunk/libclass-factory-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libclass-factory-perl/debian/rules?rev=9075&op=diff
==============================================================================
--- trunk/libclass-factory-perl/debian/rules (original)
+++ trunk/libclass-factory-perl/debian/rules Fri Nov 9 15:41:58 2007
@@ -19,40 +19,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:
dh_testdir
-
- # Add commands to compile the package here
$(PERL) Makefile.PL INSTALLDIRS=vendor
- $(MAKE) OPTIMIZE="$(CFLAGS)"
-
+ $(MAKE)
touch build-stamp
clean:
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
dh_testdir
dh_testroot
dh_clean -k
-
$(MAKE) test
$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
@@ -68,14 +52,9 @@
binary-indep: build install
dh_testdir
dh_testroot
-# dh_installcron
-# dh_installmenu
-# dh_installexamples
dh_installdocs README
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