r12819 - in /trunk/libauthen-krb5-simple-perl/debian: changelog rules
dmn at users.alioth.debian.org
dmn at users.alioth.debian.org
Wed Jan 16 12:25:40 UTC 2008
Author: dmn
Date: Wed Jan 16 12:25:40 2008
New Revision: 12819
URL: http://svn.debian.org/wsvn/?sc=1&rev=12819
Log:
* debian/rules:
+ fix target dependencies
+ remove stamps before distclean
+ Add CFLAGS with appropriate optimization level
+ Move testsuite to build-stamp target
Modified:
trunk/libauthen-krb5-simple-perl/debian/changelog
trunk/libauthen-krb5-simple-perl/debian/rules
Modified: trunk/libauthen-krb5-simple-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libauthen-krb5-simple-perl/debian/changelog?rev=12819&op=diff
==============================================================================
--- trunk/libauthen-krb5-simple-perl/debian/changelog (original)
+++ trunk/libauthen-krb5-simple-perl/debian/changelog Wed Jan 16 12:25:40 2008
@@ -1,9 +1,17 @@
libauthen-krb5-simple-perl (0.32-3) UNRELEASED; urgency=low
+ [ gregor herrmann ]
* debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser
field (source stanza); Homepage field (source stanza). Removed: XS-
Vcs-Svn fields.
* debian/rules: delete /usr/share/perl5 only if it exists.
+
+ [ Damyan Ivanov ]
+ * debian/rules:
+ + fix target dependencies
+ + remove stamps before distclean
+ + Add CFLAGS with appropriate optimization level
+ + Move testsuite to build-stamp target
-- gregor herrmann <gregor+debian at comodo.priv.at> Tue, 09 Oct 2007 22:27:19 +0200
Modified: trunk/libauthen-krb5-simple-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libauthen-krb5-simple-perl/debian/rules?rev=12819&op=diff
==============================================================================
--- trunk/libauthen-krb5-simple-perl/debian/rules (original)
+++ trunk/libauthen-krb5-simple-perl/debian/rules Wed Jan 16 12:25:40 2008
@@ -7,18 +7,28 @@
PERL = /usr/bin/perl
endif
+# 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
#$(PERL) Makefile.PL [-krb5_prompt]
$(PERL) Makefile.PL INSTALLDIRS=vendor
+ $(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
+ $(MAKE) test
touch $@
install: install-stamp
-install-stamp: build
+install-stamp: build-stamp
dh_testdir
dh_testroot
- $(MAKE) test
$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
[ ! -d $(TMP)/usr/share/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/share/perl5
touch $@
@@ -26,8 +36,8 @@
clean:
dh_testdir
dh_testroot
+ dh_clean build-stamp install-stamp
[ ! -f Makefile ] || $(MAKE) realclean
- dh_clean build-stamp install-stamp
binary-indep: build install
More information about the Pkg-perl-cvs-commits
mailing list