Update of /cvsroot/po4a/po4a/debian
In directory haydn:/tmp/cvs-serv14382/debian
Modified Files:
rules
Log Message:
Do not use the top-level makefile, but call ./Build directly
Index: rules
===================================================================
RCS file: /cvsroot/po4a/po4a/debian/rules,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- rules 16 Jul 2004 00:44:06 -0000 1.27
+++ rules 16 Jul 2004 23:23:49 -0000 1.28
@@ -6,12 +6,13 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
-# This is the debhelper compatibility version to use.
-#export DH_COMPAT=2
-
DESTDIR = $(CURDIR)/debian/$(package)
+ifndef PERL
+PERL = /usr/bin/perl
+endif
-build:
+build: build-stamp
+build-stamp:
dh_testdir
# Make sure the VERSION string were updated in binaries
@@ -25,13 +26,16 @@
exit 1; \
fi;
- $(MAKE)
+ $(PERL) Build.PL installdirs=vendor
+ $(PERL) Build
+ touch build-stamp
clean:
dh_testdir
dh_testroot
- $(MAKE) clean
+ -$(PERL) Build clean
+ rm -rf _build build-stamp Build
dh_clean
@@ -41,7 +45,8 @@
dh_clean -k
dh_installdirs
- $(MAKE) install DESTDIR=$(DESTDIR)
+# $(PERL) Build test
+ $(PERL) Build install destdir=$(DESTDIR)
# Build architecture-independent files here.
binary-indep: build install