summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-11-18 15:25:38 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-11-18 15:25:38 -0800
commit82408fc17dcc44ccfad82ad7ae00fc815b311b98 (patch)
tree8bde3bdb43b318798dc77134dac5b7a72415565a /Makefile
parent3f5c1a01e6bc15593635705aa0b19dcac965be26 (diff)
Workaround for repeated distclean
The subdirectory makefiles need Config file to exist. Therefore create it, then run make clean, then remove it.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 77a85c6e..c03d74c9 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