]> git.ipfire.org Git - thirdparty/pdns.git/commit
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)
commitdd42dfce2c09d9da27bbf7d5e693c94f0f5bb15b
tree73ca7b446728f17835caa1497d33c1031a490f2e
parent306e0ce0b03eeb3fb855fb7de815cbbd5342e7da
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
configure.ac