[nama] 05/06: rules: make sure that shipped Makefile is not used

Damyan Ivanov dmn at alioth.debian.org
Sun Oct 20 21:10:45 UTC 2013


This is an automated email from the git hooks/post-receive script.

dmn pushed a commit to branch master
in repository nama.

commit 93a1e955e93318ea58a396860f0ae5c5684da89d
Author: Damyan Ivanov <dmn at debian.org>
Date:   Sun Oct 20 21:08:08 2013 +0000

    rules: make sure that shipped Makefile is not used
    
    otherwise we get some nasty dependency loops
---
 debian/rules |   10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 2d33f6a..daeae7d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,12 @@
 #!/usr/bin/make -f
 
 %:
-	dh $@
+	dh $@ --buildsystem=perl_makemaker
+
+override_dh_auto_clean:
+	rm -f Makefile
+	dh_auto_clean
+
+override_dh_build:
+	rm -f Makefile
+	dh build

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/nama.git



More information about the Pkg-perl-cvs-commits mailing list