Workaround for repeated distclean

The subdirectory makefiles need Config file to exist.
Therefore create it, then run make clean, then remove it.
This commit is contained in:
Stephen Hemminger 2010-11-18 15:25:38 -08:00
parent 3f5c1a01e6
commit 82408fc17d

View File

@ -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