[Pdns-dev] 'make check' fails in pdns-3.0
Daniel Briley
daniel.briley at gmail.com
Tue Oct 11 21:48:58 CEST 2011
Hi,
I've recently been taking a look at the sources for pdns-3.0, and
noticed that the make target 'check' appears to be broken. Turns out
it's by the Makefile for polarssl, which is missing a 'check' target.
When the top level Makefile recurses through the tree, trying to call
'check' on any Makefile, it chokes on ext/polarssl/Makefile, since
there's no 'check' target.
I have no idea if pdns actually includes any checks to perform, but the
packaging system I'm using calls 'check' by default, hence me spotting
the problem. Easiest fix for me was to just add a blank check target to
ext/polarssl/Makefile
I have no idea if this fix would be useful to you, or whether you'd
prefer a different fix, but here's my patch anyway.
Add empty 'check' target to polarssl Makefile to satisfy dh_auto_test.
--- a/pdns/ext/polarssl/Makefile
+++ b/pdns/ext/polarssl/Makefile
@@ -7,7 +7,8 @@
distclean: clean
install:
-
+
+check:
distdir:
mkdir -p $(distdir)
More information about the Pdns-dev
mailing list