diff options
author | Ian Lynagh <igloo@earth.li> | 2008-08-15 11:49:39 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2008-08-15 11:49:39 +0000 |
commit | dea051d83341059730b75e68943d599f77517c05 (patch) | |
tree | 2084cbeca1b6b706ec255ad73db70ba7e2f1f8ec /utils | |
parent | 1d124a1a6dd4b3814ec6f74b66b2f2eee23f9ece (diff) | |
download | haskell-dea051d83341059730b75e68943d599f77517c05.tar.gz |
When distcleaning in utils/, distclean (rather then merely clean) the utils
Diffstat (limited to 'utils')
-rw-r--r-- | utils/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/utils/Makefile b/utils/Makefile index 6dc6838b34..c75e670508 100644 --- a/utils/Makefile +++ b/utils/Makefile @@ -64,7 +64,9 @@ binary-dist: $(foreach P,$(WITH_STAGE1),binary-dist.$P) echo $(WHERE_AM_I)/Makefile >> $(BIN_DIST_LIST) set -e; for d in $(SUBDIRS); do $(MAKE) -C $$d binary-dist WHERE_AM_I=$(WHERE_AM_I)/$$d; done -clean distclean:: $(foreach P,$(WITH_EITHER),clean.$P) +clean:: $(foreach P,$(WITH_EITHER),clean.$P) + +distclean:: $(foreach P,$(WITH_EITHER),distclean.$P) with-bootstrapping-compiler: \ $(foreach P,$(WITH_BOOTSTRAPPING_COMPILER),with-bootstrapping-compiler.$P) @@ -77,6 +79,10 @@ $(foreach P,$(WITH_EITHER),clean.$P): \ clean.%: $(MAKE) -C $* clean +$(foreach P,$(WITH_EITHER),distclean.$P): \ +distclean.%: + $(MAKE) -C $* distclean + $(foreach P,$(WITH_BOOTSTRAPPING_COMPILER),with-bootstrapping-compiler.$P): \ with-bootstrapping-compiler.%: $(MAKE) -C $* with-bootstrapping-compiler |