r11806 - in /trunk/libdbd-mysql-perl/debian: changelog rules
gregoa-guest at users.alioth.debian.org
gregoa-guest at users.alioth.debian.org
Fri Dec 28 18:58:02 UTC 2007
Author: gregoa-guest
Date: Fri Dec 28 18:58:01 2007
New Revision: 11806
URL: http://svn.debian.org/wsvn/?sc=1&rev=11806
Log:
debian/rules:
- use $(CURDIR) instead of calling pwd
- let install-stamp depend on build-stamp (instead of build)
- merge "rm"s in clean target
- add commented out test suite to build target and explain why it's not
enabled (needs a local MySQL server)
Modified:
trunk/libdbd-mysql-perl/debian/changelog
trunk/libdbd-mysql-perl/debian/rules
Modified: trunk/libdbd-mysql-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libdbd-mysql-perl/debian/changelog?rev=11806&op=diff
==============================================================================
--- trunk/libdbd-mysql-perl/debian/changelog (original)
+++ trunk/libdbd-mysql-perl/debian/changelog Fri Dec 28 18:58:01 2007
@@ -10,6 +10,12 @@
* New upstream release.
* Set Standards-Version to 3.7.3 (no changes needed).
* debian/watch: use dist-based URL.
+ * debian/rules:
+ - use $(CURDIR) instead of calling pwd
+ - let install-stamp depend on build-stamp (instead of build)
+ - merge "rm"s in clean target
+ - add commented out test suite to build target and explain why it's not
+ enabled (needs a local MySQL server)
-- gregor herrmann <gregor+debian at comodo.priv.at> Tue, 09 Oct 2007 22:28:48 +0200
Modified: trunk/libdbd-mysql-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libdbd-mysql-perl/debian/rules?rev=11806&op=diff
==============================================================================
--- trunk/libdbd-mysql-perl/debian/rules (original)
+++ trunk/libdbd-mysql-perl/debian/rules Fri Dec 28 18:58:01 2007
@@ -8,7 +8,7 @@
PERL = /usr/bin/perl
endif
-TMP =`pwd`/debian/libdbd-mysql-perl
+TMP =$(CURDIR)/debian/libdbd-mysql-perl
ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
CFLAGS = -g
@@ -25,21 +25,21 @@
# Add here commands to compile the pacckage.
$(PERL) Makefile.PL --ssl INSTALLDIRS=vendor
$(MAKE) OPTIMIZE="-Wall $(CFLAGS)" LD_RUN_PATH=""
+ # tests try to use a MySQL server on localhost
+ # $(MAKE) test
touch build-stamp
clean:
dh_testdir
dh_testroot
- rm -f build-stamp install-stamp debian/files Makefile.old dbimon
+ rm -f build-stamp install-stamp debian/files Makefile.old dbimon *.o blib/arch/auto/DBD/mysql/mysql.so
# Add here commands to clean up after the build process.
[ ! -f Makefile ] || $(MAKE) distclean
- -rm *.o
- -rm blib/arch/auto/DBD/mysql/mysql.so
dh_clean
install: install-stamp
-install-stamp: build
+install-stamp: build-stamp
dh_testdir
dh_testroot
dh_installdirs
More information about the Pkg-perl-cvs-commits
mailing list