From: Stephen Hemminger Date: Thu, 18 Nov 2010 23:25:38 +0000 (-0800) Subject: Workaround for repeated distclean X-Git-Tag: v2.6.37~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82408fc17dcc44ccfad82ad7ae00fc815b311b98;p=thirdparty%2Fiproute2.git Workaround for repeated distclean The subdirectory makefiles need Config file to exist. Therefore create it, then run make clean, then remove it. --- diff --git a/Makefile b/Makefile index 77a85c6e6..c03d74c90 100644 --- a/Makefile +++ b/Makefile @@ -78,7 +78,9 @@ clean: @for i in $(SUBDIRS) doc; \ do $(MAKE) $(MFLAGS) -C $$i clean; done -clobber: clean +clobber: + touch Config + $(MAKE) $(MFLAGS) clean rm -f Config distclean: clobber