From: Ruben Kerkhof Date: Mon, 21 Jul 2014 15:40:20 +0000 (+0200) Subject: Fix make distclean X-Git-Tag: auth-3.4.0-rc1~45^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F1592%2Fhead;p=thirdparty%2Fpdns.git Fix make distclean 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 --- diff --git a/configure.ac b/configure.ac index ae58bd5c90..3f21823e3f 100644 --- a/configure.ac +++ b/configure.ac @@ -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