Reorganisation of the source tree
[ghc-hetmet.git] / ghc / Makefile
index 9da1ed1..cacc3f7 100644 (file)
@@ -1,5 +1,5 @@
 #-----------------------------------------------------------------------------
-# $Id: Makefile,v 1.28 2005/03/02 10:00:36 simonmar Exp $
+# $Id: Makefile,v 1.30 2005/03/02 14:35:05 simonmar Exp $
 #
 
 TOP=.
@@ -32,15 +32,14 @@ SUBDIRS = includes lib utils driver docs compiler
 endif
 endif
 
-ifeq ($(IncludeTestDirsInBuild),YES)
-SUBDIRS += tests
-endif
-
 SRC_DIST_FILES += configure
 
 # Clean everything created by configure:
 DIST_CLEAN_FILES += VERSION config.cache config.status ghc.spec \
-       mk/version.mk mk/config.mk docs/users_guide/ug-book.xml
+       docs/users_guide/ug-book.xml
+
+# don't clean version.mk: it's needed when cleaning stuff later on
+LATE_DIST_CLEAN_FILES += mk/config.mk 
 
 extraclean::
        $(RM) -rf autom4te.cache