#-----------------------------------------------------------------------------
-# $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=.
# 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