From: simonmar Date: Thu, 21 Jul 2005 12:54:33 +0000 (+0000) Subject: [project @ 2005-07-21 12:54:33 by simonmar] X-Git-Tag: cmm-merge2~47 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=2e4f25ef5bb423ea9abe25392d316d3b9c369694;p=haskell-directory.git [project @ 2005-07-21 12:54:33 by simonmar] Hack Makefiles so that 'make distclean' works even if the tree has not been configured, or 'make distclean' has already been run. This is to solve problems caused by 'make distclean' removing files that it needs itself - previously we were arranging to remove certain files right at the end of cleaning, but this is fragile. So now we assume that e.g. the X11 library is always enabled when we're cleaning. --- diff --git a/Makefile b/Makefile index 5179b7c..597ce30 100644 --- a/Makefile +++ b/Makefile @@ -128,8 +128,7 @@ System/Posix/Types.o Foreign/C/Types.o: include/CTypes.h # ----------------------------------------------------------------------------- -DIST_CLEAN_FILES += base.buildinfo config.cache config.status -LATE_DIST_CLEAN_FILES += config.mk +DIST_CLEAN_FILES += base.buildinfo config.cache config.status config.mk include $(TOP)/mk/target.mk