]> git.decadent.org.uk Git - maypole.git/commitdiff
Fix build procedure; include full dependencies and run tests.
authorBen Hutchings <ben@decadent.org.uk>
Sat, 31 Dec 2005 15:01:56 +0000 (15:01 +0000)
committerBen Hutchings <ben@decadent.org.uk>
Tue, 4 Nov 2008 03:30:42 +0000 (03:30 +0000)
debian/compat [new file with mode: 0644]
debian/control
debian/rules [changed mode: 0644->0755]

diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..b8626c4
--- /dev/null
@@ -0,0 +1 @@
+4
index d180b313748e5b10a2242c07d5e4c3f0ac813b5c..11220ef881ba3fb8bbe42c57a4752b18aa4c0145 100644 (file)
@@ -3,7 +3,7 @@ Maintainer: Ben Hutchings <ben@decadentplace.org.uk>
 Section: perl
 Priority: extra
 Build-Depends-Indep: debhelper (>= 4), perl (>= 5.6.0-16),
- libclass-dbi-sqlite-perl
+ libapache-request-perl,
  libcgi-simple-perl,
  libcgi-untaint-perl,
  libclass-accessor-perl,
@@ -16,9 +16,13 @@ Build-Depends-Indep: debhelper (>= 4), perl (>= 5.6.0-16),
  libclass-dbi-pager-perl,
  libclass-dbi-perl,
  libclass-dbi-plugin-retrieveall-perl,
+ libclass-dbi-sqlite-perl,
  libdigest-perl,
  libtemplate-perl,
  libtemplate-plugin-class-perl,
+ libtest-mockmodule-perl,
+ libtest-pod-perl,
+ libtest-pod-coverage-perl,
  libuniversal-moniker-perl,
  libuniversal-require-perl,
  liburi-perl,
@@ -27,7 +31,28 @@ Standards-Version: 3.6.2
 
 Package: libmaypole-perl
 Architecture: all
-Depends: libapache-mod-perl | libapache2-mod-perl2, ${perl:Depends}
+Depends: ${perl:Depends},
+ libcgi-simple-perl,
+ libcgi-untaint-perl,
+ libclass-accessor-perl,
+ libclass-data-inheritable-perl,
+ libclass-dbi-abstractsearch-perl,
+ libclass-dbi-asform-perl,
+ libclass-dbi-fromcgi-perl,
+ libclass-dbi-loader-perl,
+ libclass-dbi-loader-relationship-perl,
+ libclass-dbi-pager-perl,
+ libclass-dbi-perl,
+ libclass-dbi-plugin-retrieveall-perl,
+ libclass-dbi-sqlite-perl,
+ libdigest-perl,
+ libtemplate-perl,
+ libtemplate-plugin-class-perl,
+ libuniversal-moniker-perl,
+ libuniversal-require-perl,
+ liburi-perl,
+ libwww-perl
+Recommends: libapache-mod-perl | libapache2-mod-perl2
 Description: Perl framework for MVC-oriented web applications
  Maypole is a Perl framework for MVC-oriented web applications, similar
  to Jakarta's Struts. Maypole is designed to minimize coding requirements
old mode 100644 (file)
new mode 100755 (executable)
index 864a189..2fd9adf
@@ -1,19 +1,20 @@
 #!/usr/bin/make -f
 
-build :
+build : build-stamp
+
+build-stamp : Makefile.PL
        perl Makefile.PL INSTALLDIRS=vendor
-       $(MAKE)
+       $(MAKE) test
+       touch build-stamp
 
 binary : binary-arch binary-indep
 
 binary-arch :
 
-binary-indep : build
+binary-indep : build-stamp
        dh_testroot
-       mkdir -p -m755 debian/libmaypole-perl/usr/share/perl5
        $(MAKE) PREFIX=$(CURDIR)/debian/libmaypole-perl/usr install
        dh_perl
-       mkdir -p -m755 debian/libmaypole-perl/usr/share/doc/libmaypole-perl
        dh_installchangelogs
        dh_installdocs
        dh_compress
@@ -23,6 +24,6 @@ binary-indep : build
 
 clean : 
        if [ -f Makefile ]; then $(MAKE) clean; fi
-       dh_clean Makefile
+       dh_clean Makefile Makefile.old build-stamp
 
 .PHONY : build binary binary-arch binary-dep clean