]> git.decadent.org.uk Git - maypole.git/commitdiff
Started using quilt.
authorBen Hutchings <ben@decadent.org.uk>
Mon, 20 Aug 2007 21:27:46 +0000 (21:27 +0000)
committerBen Hutchings <ben@decadent.org.uk>
Tue, 4 Nov 2008 03:32:54 +0000 (03:32 +0000)
debian/control
debian/patches/series [new file with mode: 0644]
debian/rules

index 0ffff70a82a47cc4b47037373ee1301234a40cc7..2eefbabc84e77bd732267134c5e7737d172863b9 100644 (file)
@@ -2,7 +2,7 @@ Source: maypole
 Maintainer: Ben Hutchings <ben@decadent.org.uk>
 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 (file)
index 0000000..e69de29
index b263d502c30d41a5236bf8b8ccc1da849f273277..7c2d11b5c040402897a96a3e583bb71c6e63b217 100755 (executable)
@@ -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