[project @ 2003-10-17 17:52:33 by panne]
authorpanne <unknown>
Fri, 17 Oct 2003 17:52:33 +0000 (17:52 +0000)
committerpanne <unknown>
Fri, 17 Oct 2003 17:52:33 +0000 (17:52 +0000)
Add config.cache to DIST_CLEAN_FILES and remove autom4te.cache subdir
for every clean* target

Makefile
ghc/Makefile

index 1ec0796..7f47f3b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -48,6 +48,9 @@ project-check :
 
 DIST_CLEAN_FILES += config.cache config.status
 
+extraclean::
+       $(RM) -rf autom4te.cache
+
 #
 # If you've ended up using an in-place version of Happy,
 # make sure it gets built early on.
index ee14beb..6005c1e 100644 (file)
@@ -1,5 +1,5 @@
 #-----------------------------------------------------------------------------
-# $Id: Makefile,v 1.22 2003/03/31 12:23:41 simonmar Exp $
+# $Id: Makefile,v 1.23 2003/10/17 17:52:33 panne Exp $
 #
 
 TOP=.
@@ -37,7 +37,10 @@ endif
 
 SRC_DIST_FILES += configure
 
-DIST_CLEAN_FILES += ghc.spec config.status
+DIST_CLEAN_FILES += config.cache config.status ghc.spec
+
+extraclean::
+       $(RM) -rf autom4te.cache
 
 ifeq "$(TARGETPLATFORM)" "i386-unknown-mingw32"
 # These files need to be in the InstallShield