summaryrefslogtreecommitdiff
path: root/libraries/Makefile
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2008-08-11 14:38:31 +0000
committerSimon Marlow <marlowsd@gmail.com>2008-08-11 14:38:31 +0000
commite1ca71716cd40aecf23f572e661e0285dd1b8b3a (patch)
tree5af2cdb166572c76fb5b3be48725061423e5838e /libraries/Makefile
parent3245f93f334bf22e5590318c46dddc1865c636d5 (diff)
downloadhaskell-e1ca71716cd40aecf23f572e661e0285dd1b8b3a.tar.gz
build base3-compat
Diffstat (limited to 'libraries/Makefile')
-rw-r--r--libraries/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/libraries/Makefile b/libraries/Makefile
index d759d8bb04..062399ae9e 100644
--- a/libraries/Makefile
+++ b/libraries/Makefile
@@ -41,7 +41,7 @@ include $(TOP)/mk/cabal-flags.mk
# Any libraries listed here should also be in ../packages
-SUBDIRS = ghc-prim $(INTEGER_LIBRARY) base array packedstring
+SUBDIRS = ghc-prim $(INTEGER_LIBRARY) base base3-compat array packedstring
SUBDIRS += containers bytestring old-locale old-time filepath directory
ifeq "$(GhcLibsWithUnix)" "YES"
SUBDIRS += unix
@@ -289,7 +289,10 @@ build.library.%: stamp/configure.library.build$(CONFIGURE_STAMP_EXTRAS).% \
html: doc
-doc: $(foreach SUBDIR,$(SUBDIRS),doc.library.$(SUBDIR))
+# No docs for compat libraries for now.
+DOC_SUBDIRS = $(filter-out %-compat, $(SUBDIRS))
+
+doc: $(foreach SUBDIR,$(DOC_SUBDIRS),doc.library.$(SUBDIR))
sh gen_contents_index --inplace
# Making hyperlinked source only works if we have hscolour
@@ -297,7 +300,7 @@ ifneq "$(HSCOLOUR)" ""
CABAL_HADDOCK_FLAGS=--hyperlink-source
endif
-$(foreach SUBDIR,$(SUBDIRS),doc.library.$(SUBDIR)):\
+$(foreach SUBDIR,$(DOC_SUBDIRS),doc.library.$(SUBDIR)):\
doc.library.%: stamp/configure.library.build$(CONFIGURE_STAMP_EXTRAS).% \
cabal-bin ifBuildable/ifBuildable bootstrapping.conf
if $(IFBUILDABLE) $*; then \