]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Fix make distclean 1592/head
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Mon, 21 Jul 2014 15:40:20 +0000 (17:40 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Mon, 21 Jul 2014 17:25:45 +0000 (19:25 +0200)
Both the remotebackend and bindbackend use sources from
the pdns/ directory two levels up.

When running make distclean, the automatically generated
dependencies are cleaned from the current directory.
When make next recurses into pdns/, those .deps are gone
and make fails.

http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17354 describes
the same issue.

The obvious fix (apart from fixing the bug in automake) is
to either switch to non-recursive make, or create a convenience
library.

Until that hapens, disabling dependency tracking is the only
solution I see. The nice side effect is that this speeds
up one off builds tremendously.

Fixes #1232

configure.ac

index ae58bd5c90da02f2f6b55bc0a29213d105771dd6..3f21823e3f3b216b20290f37afb26f838ad510f6 100644 (file)
@@ -10,7 +10,7 @@ AC_CONFIG_MACRO_DIR([m4])
 AC_CONFIG_HEADERS([config.h])
 AC_CONFIG_AUX_DIR([build-aux])
 
-AM_INIT_AUTOMAKE([foreign tar-ustar -Wno-portability subdir-objects])
+AM_INIT_AUTOMAKE([foreign tar-ustar -Wno-portability subdir-objects no-dependencies])
 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
 
 AC_CANONICAL_HOST