diff -r 30644208c955 -r f87f02b00cc7 Makefile.in --- a/Makefile.in Thu May 26 22:51:03 2011 +0200 +++ b/Makefile.in Sat Jun 04 17:43:49 2011 +0200 @@ -88,6 +88,17 @@ # See top of file for an explanation of why this is needed... ifneq ($(strip $(CT_MAKEFLAGS)),) +# Somehow, the new auto-completion for make in the recent distributions +# trigger a behavior where our Makefile calls itself recursively, in a +# never-ending loop (except on lack of ressources, swap, PIDs...) +# Avoid this situation by cutting the recursion short at the first +# level. +# This has the side effect of only showing the real targets, and hiding our +# internal ones. :-) +ifneq ($(MAKELEVEL),0) +$(error Recursion detected, bailing out...) +endif + MAKEFLAGS += $(CT_MAKEFLAGS) build install clean distclean uninstall: @$(MAKE) $@