summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2007-05-19 12:11:34 +0000
committerIan Lynagh <igloo@earth.li>2007-05-19 12:11:34 +0000
commit6bcc6f201bfb612aa9bae8c9c7b61e2cc902c312 (patch)
treebce0f68369a7077bcc79bcfee549a1b414d5b75b
parent45f2165bbd14ebdf11b2762f3c52849cb08e82b5 (diff)
downloadhaskell-6bcc6f201bfb612aa9bae8c9c7b61e2cc902c312.tar.gz
rebuild.library.<foo> is now a shorthand for clean then build
-rw-r--r--libraries/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/libraries/Makefile b/libraries/Makefile
index 2664d36461..1a77051fe7 100644
--- a/libraries/Makefile
+++ b/libraries/Makefile
@@ -9,6 +9,10 @@
#
# make clean.library.<package>
# make build.library.<package>
+#
+# or the following is equivalent:
+#
+# make rebuild.library.<package>
.PHONY: default_target
@@ -152,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