From: Stephen Hemminger Date: Thu, 18 Nov 2010 23:25:38 +0000 (-0800) Subject: Workaround for repeated distclean X-Git-Url: https://rtime.felk.cvut.cz/gitweb/lisovros/iproute2_canprio.git/commitdiff_plain/82408fc17dcc44ccfad82ad7ae00fc815b311b98 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 77a85c6..c03d74c 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