Don't read boilerplate.mk on 'make maintainer-clean'
authorSimon Peyton Jones <simonpj@microsoft.com>
Fri, 20 Jan 2012 10:47:55 +0000 (10:47 +0000)
committerSimon Peyton Jones <simonpj@microsoft.com>
Fri, 20 Jan 2012 10:47:55 +0000 (10:47 +0000)
testsuite/Makefile
testsuite/timeout/Makefile

index 97ee47f..c3db8db 100644 (file)
@@ -7,6 +7,7 @@ TOP = .
 # being defined.
 ifneq "$(MAKECMDGOALS)" "clean"
 ifneq "$(MAKECMDGOALS)" "distclean"
+ifneq "$(MAKECMDGOALS)" "maintainer-clean"
 
 include $(TOP)/mk/boilerplate.mk
 
@@ -18,6 +19,7 @@ all:
 
 endif
 endif
+endif
 
 clean distclean maintainer-clean:
        $(MAKE) -C $(TOP)/timeout $@
index 4b203cc..e7335df 100644 (file)
@@ -7,6 +7,7 @@ TOP = ..
 # being defined.
 ifneq "$(MAKECMDGOALS)" "clean"
 ifneq "$(MAKECMDGOALS)" "distclean"
+ifneq "$(MAKECMDGOALS)" "maintainer-clean"
 
 include $(TOP)/mk/boilerplate.mk
 
@@ -58,6 +59,7 @@ calibrate.out:
 
 endif
 endif
+endif
 
 clean distclean maintainer-clean:
        -./Setup clean