r13074 - in /trunk/libcdk-perl/debian: changelog control rules
dmn at users.alioth.debian.org
dmn at users.alioth.debian.org
Mon Jan 21 09:09:31 UTC 2008
Author: dmn
Date: Mon Jan 21 09:09:31 2008
New Revision: 13074
URL: http://svn.debian.org/wsvn/?sc=1&rev=13074
Log:
* Standards-Version: 3.7.3 (no changes)
Modified:
trunk/libcdk-perl/debian/changelog
trunk/libcdk-perl/debian/control
trunk/libcdk-perl/debian/rules
Modified: trunk/libcdk-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libcdk-perl/debian/changelog?rev=13074&op=diff
==============================================================================
--- trunk/libcdk-perl/debian/changelog (original)
+++ trunk/libcdk-perl/debian/changelog Mon Jan 21 09:09:31 2008
@@ -1,9 +1,13 @@
libcdk-perl (4.9.10-3) UNRELEASED; urgency=low
+ [ gregor herrmann ]
* debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser
field (source stanza); Homepage field (source stanza). Removed:
Homepage pseudo-field (Description); XS-Vcs-Svn fields.
* debian/rules: delete /usr/share/perl5 only if it exists.
+
+ [ Damyan Ivanov ]
+ * Standards-Version: 3.7.3 (no changes)
-- gregor herrmann <gregor+debian at comodo.priv.at> Tue, 09 Oct 2007 22:27:45 +0200
Modified: trunk/libcdk-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libcdk-perl/debian/control?rev=13074&op=diff
==============================================================================
--- trunk/libcdk-perl/debian/control (original)
+++ trunk/libcdk-perl/debian/control Mon Jan 21 09:09:31 2008
@@ -3,7 +3,7 @@
Priority: optional
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
Uploaders: Jeremiah Foster <jeremiah at jeremiahfoster.com>
-Standards-Version: 3.7.2
+Standards-Version: 3.7.3
Homepage: http://invisible-island.net/cdk/
Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libcdk-perl/
Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libcdk-perl/
Modified: trunk/libcdk-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libcdk-perl/debian/rules?rev=13074&op=diff
==============================================================================
--- trunk/libcdk-perl/debian/rules (original)
+++ trunk/libcdk-perl/debian/rules Mon Jan 21 09:09:31 2008
@@ -3,28 +3,47 @@
# debian/rules file for libcdk-perl
PERL ?= /usr/bin/perl
+PACKAGE =$(shell dh_listpackages)
+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
$(PERL) Makefile.PL INSTALLDIRS=vendor PERL=$(PERL)
- $(MAKE) LD_RUN_PATH=
+ $(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=
+ $(MAKE) test
touch $@
-clean: checkroot
- rm -f build-stamp
- [ ! -f Makefile ] || $(MAKE) distclean
+clean:
+ rm -f build-stamp install-stamp
+ [ ! -f Makefile ] || $(MAKE) distclean
dh_clean
-binary-indep: checkroot build
+install: install-stamp
+install-stamp: build-stamp
+ dh_testdir
+ dh_clean -k
-binary-arch: checkroot build
- dh_clean
- dh_installdirs
+ $(MAKE) pure_install DESTDIR=$(TMP)
+ # rm empty /usr/share/perl5 directory
+ [ ! -d $(TMP)/usr/share/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/share/perl5
- $(MAKE) pure_install DESTDIR=$(CURDIR)/debian/libcdk-perl
- # rm empty /usr/share/perl5 directory
- [ ! -d $(CURDIR)/debian/libcdk-perl/usr/share/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(CURDIR)/debian/libcdk-perl/usr/share/perl5
+ touch $@
+
+binary-indep:
+
+binary-arch: install
+ dh_testdir
+ dh_testroot
dh_installchangelogs CHANGES
dh_installdocs README
@@ -42,8 +61,4 @@
binary: binary-indep binary-arch
-checkroot:
- dh_testdir
- dh_testroot
-
-.PHONY: binary binary-arch binary-indep clean checkroot build
+.PHONY: binary binary-arch binary-indep clean build
More information about the Pkg-perl-cvs-commits
mailing list