X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=libraries%2FMakefile;h=1a77051fe71d1c73c7ab10f3afa1f3a0a104c78d;hp=eda3932ba3d36fecfbcb8199150738eaba9681f7;hb=6bcc6f201bfb612aa9bae8c9c7b61e2cc902c312;hpb=3c073a31f379fe0713f63e7058185c251242e9fa diff --git a/libraries/Makefile b/libraries/Makefile index eda3932..1a77051 100644 --- a/libraries/Makefile +++ b/libraries/Makefile @@ -9,6 +9,10 @@ # # make clean.library. # make build.library. +# +# or the following is equivalent: +# +# make rebuild.library. .PHONY: default_target @@ -23,7 +27,8 @@ TOP=. include $(TOP)/mk/boilerplate.mk endif -SUBDIRS = base filepath haskell98 pretty template-haskell readline Cabal +SUBDIRS = base old-time directory filepath pretty template-haskell \ + readline Cabal random haskell98 ifeq "$(GhcLibsWithUnix)" "YES" SUBDIRS += unix @@ -151,6 +156,11 @@ ifneq "$(NO_HADDOCK_DOCS)" "YES" all: doc endif +.PHONY: rebuild.library.% + +$(foreach SUBDIR,$(SUBDIRS),rebuild.library.$(SUBDIR)):\ +rebuild.library.%: clean.library.% build.library.% + build: $(foreach SUBDIR,$(SUBDIRS),build.library.$(SUBDIR)) build: installPackage/installPackage