[project @ 1997-09-03 23:43:49 by sof]
[ghc-hetmet.git] / ghc / Makefile
index 422df02..1386d2c 100644 (file)
@@ -1,5 +1,5 @@
 #-----------------------------------------------------------------------------
-# $Id: Makefile,v 1.5 1997/03/19 20:44:51 simonpj Exp $
+# $Id: Makefile,v 1.7 1997/03/24 08:39:19 sof Exp $
 #
 
 TOP=.
@@ -21,9 +21,14 @@ include $(TOP)/mk/boilerplate.mk
 # we descend into compiler/ and lib/
 #
 ifeq "$(GhcWithHscBuiltViaC)" "NO"
-SUBDIRS = utils driver includes runtime compiler lib
+SUBDIRS = utils driver includes runtime docs compiler lib
 else
-SUBDIRS = utils driver includes runtime lib compiler
+SUBDIRS = utils driver includes runtime docs lib compiler
+endif
+
+# Easier to copy
+ifeq "$(BIN_DIST)" "1"
+SUBDIRS := $(filter-out docs,$(SUBDIRS))
 endif
 
 include $(TOP)/mk/target.mk