r18727 - in /trunk/libdbd-pg-perl/debian: changelog rules
gregoa-guest at users.alioth.debian.org
gregoa-guest at users.alioth.debian.org
Thu Apr 17 20:04:06 UTC 2008
Author: gregoa-guest
Date: Thu Apr 17 20:04:05 2008
New Revision: 18727
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=18727
Log:
Refresh debian/rules, no functional changes.
Modified:
trunk/libdbd-pg-perl/debian/changelog
trunk/libdbd-pg-perl/debian/rules
Modified: trunk/libdbd-pg-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbd-pg-perl/debian/changelog?rev=18727&op=diff
==============================================================================
--- trunk/libdbd-pg-perl/debian/changelog (original)
+++ trunk/libdbd-pg-perl/debian/changelog Thu Apr 17 20:04:05 2008
@@ -1,8 +1,9 @@
libdbd-pg-perl (2.6.0-1) UNRELEASED; urgency=low
* New upstream release.
-
- -- gregor herrmann <gregor+debian at comodo.priv.at> Thu, 17 Apr 2008 21:49:37 +0200
+ * Refresh debian/rules, no functional changes.
+
+ -- gregor herrmann <gregor+debian at comodo.priv.at> Thu, 17 Apr 2008 22:02:07 +0200
libdbd-pg-perl (2.5.1-1) unstable; urgency=low
Modified: trunk/libdbd-pg-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbd-pg-perl/debian/rules?rev=18727&op=diff
==============================================================================
--- trunk/libdbd-pg-perl/debian/rules (original)
+++ trunk/libdbd-pg-perl/debian/rules Thu Apr 17 20:04:05 2008
@@ -2,13 +2,9 @@
# Made with the aid of debmake, by Christoph Lameter,
# based on the sample debian/rules file for GNU hello by Ian Jackson.
-package=libdbd-pg-perl
-
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
-TMP =$(CURDIR)/debian/$(package)
+PERL ?= /usr/bin/perl
+PACKAGE = $(shell dh_listpackages)
+TMP = $(CURDIR)/debian/$(PACKAGE)
PG_INCLUDEDIR = $(shell pg_config --includedir)
PG_LIBDIR = $(shell pg_config --libdir)
@@ -21,7 +17,6 @@
else
CFLAGS += -O2
endif
-
export POSTGRES_INCLUDE=$(PG_INCLUDEDIR)
export POSTGRES_LIB=$(PG_LIBDIR)
@@ -30,21 +25,19 @@
build-stamp:
dh_testdir
- $(PERL) Makefile.PL INSTALLDIRS=vendor
+ $(PERL) Makefile.PL INSTALLDIRS=vendor
touch Makefile
$(MAKE) INC="-I/usr/include -I$(PG_INCLUDEDIR) -I/usr/lib/perl5/auto/DBI" OPTIMIZE="-Wall $(CFLAGS)" LD_RUN_PATH=""
TEST_CRITIC=1 $(MAKE) test
- touch build-stamp
+ touch $@
clean:
dh_testdir
dh_testroot
-
- -rm -f build-stamp install-stamp
+
+ dh_clean build-stamp install-stamp
if [ -e Makefile ]; then $(MAKE) realclean; fi
-rm -f `find . -name "*~"`
-
- dh_clean
install: install-stamp
install-stamp: build-stamp
@@ -53,10 +46,10 @@
dh_clean -k
$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-
+
[ ! -d $(TMP)/usr/share/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/share/perl5
- touch install-stamp
+ touch $@
binary-indep: build install
# There are no architecture-independent files to be uploaded
@@ -80,5 +73,5 @@
binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+.PHONY: build clean binary-indep binary-arch binary install
More information about the Pkg-perl-cvs-commits
mailing list