X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2FMakefile;h=f9c691c28136aaf7ae4c712abee9e78d9dc3a4f6;hb=66e87ae1ac00d54df5024033fda5d08db99177a4;hp=422df022c291194f09e44664b54b208b9ef1858a;hpb=d5c8ed9758e4bb20406b9b9b2cc0533b38340a6e;p=ghc-hetmet.git diff --git a/ghc/Makefile b/ghc/Makefile index 422df02..f9c691c 100644 --- a/ghc/Makefile +++ b/ghc/Makefile @@ -1,5 +1,5 @@ #----------------------------------------------------------------------------- -# $Id: Makefile,v 1.5 1997/03/19 20:44:51 simonpj Exp $ +# $Id: Makefile,v 1.10 2000/01/31 15:12:07 simonmar Exp $ # TOP=. @@ -21,9 +21,20 @@ 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 rts docs compiler lib else -SUBDIRS = utils driver includes runtime lib compiler +SUBDIRS = utils driver includes rts docs lib compiler endif +# Easier to copy +ifeq "$(BIN_DIST)" "1" +SUBDIRS := $(filter-out docs,$(SUBDIRS)) +endif + +ifeq ($(IncludeTestDirsInBuild),YES) +SUBDIRS += tests +endif + +SRC_DIST_FILES += configure + include $(TOP)/mk/target.mk