r8597 - in /trunk/libtext-csv-perl/debian: changelog rules
dmn at users.alioth.debian.org
dmn at users.alioth.debian.org
Thu Oct 25 20:01:21 UTC 2007
Author: dmn
Date: Thu Oct 25 20:01:21 2007
New Revision: 8597
URL: http://svn.debian.org/wsvn/?sc=1&rev=8597
Log:
* Add OPTIMIZE="..." to $(MAKE) invocation; CFLAGS depend on
DEB_BUILD_OPTIONS
Modified:
trunk/libtext-csv-perl/debian/changelog
trunk/libtext-csv-perl/debian/rules
Modified: trunk/libtext-csv-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libtext-csv-perl/debian/changelog?rev=8597&op=diff
==============================================================================
--- trunk/libtext-csv-perl/debian/changelog (original)
+++ trunk/libtext-csv-perl/debian/changelog Thu Oct 25 20:01:21 2007
@@ -9,8 +9,10 @@
[ Damyan Ivanov ]
* Add upstream URL to debian/copyrithg
* Move test suite from binary-arch to build target
+ * Add OPTIMIZE="..." to $(MAKE) invocation; CFLAGS depend on
+ DEB_BUILD_OPTIONS
- -- Damyan Ivanov <dmn at debian.org> Thu, 25 Oct 2007 22:58:30 +0300
+ -- Damyan Ivanov <dmn at debian.org> Thu, 25 Oct 2007 23:01:18 +0300
libtext-csv-perl (0.31-1) unstable; urgency=low
Modified: trunk/libtext-csv-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libtext-csv-perl/debian/rules?rev=8597&op=diff
==============================================================================
--- trunk/libtext-csv-perl/debian/rules (original)
+++ trunk/libtext-csv-perl/debian/rules Thu Oct 25 20:01:21 2007
@@ -1,6 +1,15 @@
#! /usr/bin/make -f
# -*-makefile-*-
# debian/rules file for libtext-csv-perl
+
+# 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
include /usr/share/dpatch/dpatch.make
@@ -16,7 +25,7 @@
build-stamp: patch
dh_testdir
$(PERL) Makefile.PL INSTALLDIRS=vendor PERL=$(PERL)
- $(MAKE) LD_RUN_PATH=
+ $(MAKE) LD_RUN_PATH= OPTIMIZE="$(CFLAGS)"
$(MAKE) test
touch $@
More information about the Pkg-perl-cvs-commits
mailing list