r32418 - in /trunk/libdbd-sqlite3-perl/debian: changelog rules
eloy at users.alioth.debian.org
eloy at users.alioth.debian.org
Mon Mar 30 09:13:52 UTC 2009
Author: eloy
Date: Mon Mar 30 09:13:48 2009
New Revision: 32418
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=32418
Log:
use debian/rules from debhelper7
Modified:
trunk/libdbd-sqlite3-perl/debian/changelog
trunk/libdbd-sqlite3-perl/debian/rules
Modified: trunk/libdbd-sqlite3-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbd-sqlite3-perl/debian/changelog?rev=32418&op=diff
==============================================================================
--- trunk/libdbd-sqlite3-perl/debian/changelog (original)
+++ trunk/libdbd-sqlite3-perl/debian/changelog Mon Mar 30 09:13:48 2009
@@ -6,6 +6,7 @@
to 3.8.1
* Removed used_only_once.patch, it's now fixed in upstream, refreshed
error-reset.patch
+ * debian/rules: use debhelper7 example
[ gregor herrmann ]
* debian/control: Changed: Switched Vcs-Browser field to ViewSVN
Modified: trunk/libdbd-sqlite3-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbd-sqlite3-perl/debian/rules?rev=32418&op=diff
==============================================================================
--- trunk/libdbd-sqlite3-perl/debian/rules (original)
+++ trunk/libdbd-sqlite3-perl/debian/rules Mon Mar 30 09:13:48 2009
@@ -1,77 +1,23 @@
#!/usr/bin/make -f
-# This debian/rules file is provided as a template for normal perl
-# packages. It was created by Marc Brockschmidt <marc at dch-faq.de> for
-# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may
-# be used freely wherever it is useful.
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-# If set to a true value then MakeMaker's prompt function will
-# always return the default without waiting for user input.
-export PERL_MM_USE_DEFAULT=1
-
-include /usr/share/quilt/quilt.make
-
-PERL ?= /usr/bin/perl
-PACKAGE = $(shell dh_listpackages)
-TMP = $(CURDIR)/debian/$(PACKAGE)
-
-# Allow disabling build optimisation 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: $(QUILT_STAMPFN)
- dh_testdir
- $(PERL) Makefile.PL INSTALLDIRS=vendor USE_LOCAL_SQLITE=0
- mkdir -p junk/
- $(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
- $(MAKE) test
+build-stamp:
+ dh build
touch $@
-clean: unpatch
- dh_testdir
- dh_testroot
- dh_clean build-stamp install-stamp
- $(RM) -rv output junk
- [ ! -f Makefile ] || $(MAKE) realclean
+clean:
+ dh $@
install: install-stamp
install-stamp: build-stamp
- dh_testdir
- dh_testroot
- 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
+ dh install
touch $@
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do here for an architecture-dependent package
+binary-arch: install
+ dh $@
-# Build architecture-dependent files here.
-binary-arch: build install
- dh_testdir
- dh_testroot
- dh_installdocs README
- dh_installchangelogs Changes
- dh_shlibdeps
- dh_strip
- dh_perl
- dh_compress
- dh_fixperms
- dh_installdeb
- dh_gencontrol
- dh_md5sums
- dh_builddeb
+binary-indep:
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+binary: binary-arch binary-indep
+
+.PHONY: binary binary-arch binary-indep install clean build
More information about the Pkg-perl-cvs-commits
mailing list