debian/rules
changeset 42 f3c6f1f69e7d
parent 19 d31157fe5358
--- a/debian/rules	Wed Oct 20 23:38:51 2010 +0200
+++ b/debian/rules	Sat Apr 20 18:36:18 2013 +0200
@@ -25,6 +25,7 @@
 configure: configure-stamp
 configure-stamp:
 	dh_testdir
+	perl Build.PL --installdirs=vendor --destdir=$(r)
 	touch configure-stamp
 
 
@@ -32,14 +33,14 @@
 
 build-stamp: configure-stamp 
 	dh_testdir
-	$(MAKE) prefix=$(r)/usr
+	./Build
 	touch $@
 
 clean:
 	dh_testdir
 	dh_testroot
 	rm -f build-stamp configure-stamp
-	-$(MAKE) clean
+	-./Build distclean
 
 	dh_clean 
 
@@ -50,8 +51,7 @@
 	dh_installdirs
 
 	# Add here commands to install the package into debian/exiacl.
-	install -d $(r)/usr/bin
-	$(MAKE) install DESTDIR=$(r) prefix=$(r)/usr
+	./Build fakeinstall
 
 
 # Build architecture-independent files here.