Commit 23a9e047 authored by gregor herrmann's avatar gregor herrmann

debian/rules: use debhelper 7's fancy dh commands.

parent dbdc47cb
libdata-serializer-perl (0.48-1) unstable; urgency=low
[ Rene Mayorga ]
* New upstream release
* debian/control
+ set standards-version to 3.8.0 ( no changes needed )
......@@ -8,6 +9,9 @@ libdata-serializer-perl (0.48-1) unstable; urgency=low
* debian/copyright - Add an entry for
lib/Data/Serializer/Config/General.pm
[ gregor herrmann ]
* debian/rules: use debhelper 7's fancy dh commands.
-- Rene Mayorga <rmayorga@debian.org.sv> Fri, 22 Aug 2008 10:58:53 -0600
libdata-serializer-perl (0.46-1) unstable; urgency=low
......
#!/usr/bin/make -f
# This debian/rules file is provided as a template for normal perl
# packages. It was created by Marc Brockschmidt <marc@dch-faq.de> for
# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may
# be used freely wherever it is useful.
#
# It was later modified by Jason Kohles <email@jasonkohles.com>
# http://www.jasonkohles.com/ to support Module::Build installed modules
# 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
PERL ?= /usr/bin/perl
PACKAGE = $(shell dh_listpackages)
......@@ -20,41 +6,25 @@ TMP = $(CURDIR)/debian/$(PACKAGE)
build: build-stamp
build-stamp:
dh_testdir
$(PERL) Build.PL installdirs=vendor
$(PERL) Build
$(PERL) Build test
dh build
touch $@
clean:
dh_testdir
dh_testroot
dh_clean build-stamp install-stamp
[ ! -f Build ] || $(PERL) Build --allow_mb_mismatch 1 distclean
dh $@
install: install-stamp
install-stamp: build-stamp
dh_testdir
dh_testroot
dh_clean -k
# work around /usr/usr
dh install --before dh_auto_install
$(PERL) Build install destdir=$(TMP) create_packlist=0
dh install --after dh_auto_install
touch $@
binary-arch:
# We have nothing to do here for an architecture-independent package
binary-indep: build install
dh_testdir
dh_testroot
dh_installdocs
dh_installchangelogs Changes
dh_perl
dh_compress
dh_fixperms
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install
binary-indep: install
dh $@
binary: binary-arch binary-indep
.PHONY: binary binary-arch binary-indep install clean build
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment