aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2011-09-26 13:58:33 +0200
committerBjörn Gustavsson <[email protected]>2011-09-26 13:59:12 +0200
commitd9ec7c91ca6ae019ad80b03fb184924bad8d6bc8 (patch)
treeddf9d4b48872e245de4fa5497ec0133d18b0839e
parent38613c4190b386700a84b4f435fbe12823bbbbd0 (diff)
downloadotp-d9ec7c91ca6ae019ad80b03fb184924bad8d6bc8.tar.gz
otp-d9ec7c91ca6ae019ad80b03fb184924bad8d6bc8.tar.bz2
otp-d9ec7c91ca6ae019ad80b03fb184924bad8d6bc8.zip
ic documentation: Support parallel make
-rw-r--r--lib/ic/doc/src/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/ic/doc/src/Makefile b/lib/ic/doc/src/Makefile
index 8eda436a24..acb6848fee 100644
--- a/lib/ic/doc/src/Makefile
+++ b/lib/ic/doc/src/Makefile
@@ -206,6 +206,8 @@ JAVADOCFLAGS = \
# ----------------------------------------------------
# Targets
# ----------------------------------------------------
+_create_dirs := $(shell mkdir -p $(JAVA_OUT_DIR))
+
$(HTMLDIR)/%.gif: %.gif
$(INSTALL_DATA) $< $@
@@ -256,10 +258,7 @@ clean clean_docs clean_tex:
endif
-$(JAVA_OUT_DIR):
- mkdir $(JAVA_OUT_DIR)
-
-$(JAVADOC_GENERATED_FILES): $(JAVA_OUT_DIR)
+$(JAVADOC_GENERATED_FILES):
@(cd ../../java_src; $(JAVADOC) $(JAVADOCFLAGS) com.ericsson.otp.ic)
man: $(MAN3_FILES)