Clean some old files that we no longer generate
authorIan Lynagh <igloo@earth.li>
Wed, 31 Oct 2012 00:50:18 +0000 (01:50 +0100)
committerIan Lynagh <igloo@earth.li>
Wed, 31 Oct 2012 00:50:18 +0000 (01:50 +0100)
Avoids problems for people with old files in their tree

ghc.mk

diff --git a/ghc.mk b/ghc.mk
index 13f0db2..c1544ad 100644 (file)
--- a/ghc.mk
+++ b/ghc.mk
@@ -1229,12 +1229,16 @@ CLEAN_FILES += libraries/bootstrapping.conf
 CLEAN_FILES += libraries/integer-gmp/cbits/GmpDerivedConstants.h
 CLEAN_FILES += libraries/integer-gmp/cbits/mkGmpDerivedConstants
 
-# These four are no longer generated, but we still clean them for a while
+# These are no longer generated, but we still clean them for a while
 # as they may still be in old GHC trees:
 CLEAN_FILES += includes/GHCConstants.h
 CLEAN_FILES += includes/DerivedConstants.h
 CLEAN_FILES += includes/ghcautoconf.h
 CLEAN_FILES += includes/ghcplatform.h
+CLEAN_FILES += utils/ghc-pkg/Version.hs
+CLEAN_FILES += compiler/parser/Parser.y
+CLEAN_FILES += compiler/prelude/primops.txt
+CLEAN_FILES += $(wildcard compiler/primop*incl)
 
 clean : clean_files clean_libraries