From f497883668e6aa1181cb0348e11388d1c5e83073 Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Mon, 20 Aug 2007 21:27:46 +0000 Subject: [PATCH] Started using quilt. --- debian/control | 2 +- debian/patches/series | 0 debian/rules | 8 +++++--- 3 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 debian/patches/series diff --git a/debian/control b/debian/control index 0ffff70..2eefbab 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: maypole Maintainer: Ben Hutchings Section: perl Priority: extra -Build-Depends-Indep: debhelper (>= 5), perl (>= 5.6.0-16), +Build-Depends-Indep: debhelper (>= 5), perl (>= 5.6.0-16), quilt, libclass-dbi-abstractsearch-perl, libclass-dbi-pager-perl, libclass-dbi-plugin-retrieveall-perl, diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..e69de29 diff --git a/debian/rules b/debian/rules index b263d50..7c2d11b 100755 --- a/debian/rules +++ b/debian/rules @@ -1,8 +1,10 @@ #!/usr/bin/make -f +include /usr/share/quilt/quilt.make + build : build-stamp -build-stamp : Makefile.PL +build-stamp : Makefile.PL $(QUILT_STAMPFN) perl Makefile.PL INSTALLDIRS=vendor $(MAKE) test touch build-stamp @@ -23,8 +25,8 @@ binary-indep : build-stamp dh_md5sums dh_builddeb -clean : +clean : unpatch if [ -f Makefile ]; then $(MAKE) clean; fi dh_clean Makefile Makefile.old build-stamp -.PHONY : build binary binary-arch binary-dep clean +.PHONY : build binary binary-arch binary-dep clean patch unpatch -- 2.39.2