X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc.mk;h=e7ae4d3e4cc1caf359a54f020c955317724ff398;hb=c54980ff8b19f8f1e5ffb562f0477f7f674dabb6;hp=1fd8509963fab7828e3e93c443fbd53d05584f77;hpb=6bb8d64a971afce310df3349e8767b790c2845ee;p=ghc-hetmet.git diff --git a/ghc.mk b/ghc.mk index 1fd8509..e7ae4d3 100644 --- a/ghc.mk +++ b/ghc.mk @@ -155,7 +155,7 @@ include rules/clean-target.mk # ----------------------------------------------------------------------------- # The inplace tree -$(eval $(call clean-target,inplace,,inplace)) +$(eval $(call clean-target,inplace,,inplace/bin inplace/lib)) # ----------------------------------------------------------------------------- # Whether to build dependencies or not @@ -1254,6 +1254,7 @@ distclean : clean "$(RM)" $(RM_OPTS) libraries/unix/include/HsUnixConfig.h "$(RM)" $(RM_OPTS) libraries/old-time/include/HsTimeConfig.h "$(RM)" $(RM_OPTS_REC) utils/ghc-pwd/dist + "$(RM)" $(RM_OPTS_REC) inplace "$(RM)" $(RM_OPTS) $(patsubst %, libraries/%/config.log, $(PACKAGES) $(PACKAGES_STAGE2)) "$(RM)" $(RM_OPTS) $(patsubst %, libraries/%/config.status, $(PACKAGES) $(PACKAGES_STAGE2))