aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoseph Wayne Norton <[email protected]>2010-03-07 19:27:49 +0900
committerBjörn Gustavsson <[email protected]>2010-03-09 07:25:50 +0100
commit2016a084feb031aa8c845b883a66d35331b81d39 (patch)
tree629dda09da1a6b16e4fdd08b99996aa2e873c9a6
parentdfd80f7cea795bfb3a35eaea2c0bc98960002aa2 (diff)
downloadotp-2016a084feb031aa8c845b883a66d35331b81d39.tar.gz
otp-2016a084feb031aa8c845b883a66d35331b81d39.tar.bz2
otp-2016a084feb031aa8c845b883a66d35331b81d39.zip
Permit building and installing documentation without Java
Modify lib/ic/doc/src/Makefile to build and to install documentation built via javadoc only when $(JAVA) is not equal to "".
-rw-r--r--lib/ic/doc/src/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/ic/doc/src/Makefile b/lib/ic/doc/src/Makefile
index 26d0932a95..fb82531dfa 100644
--- a/lib/ic/doc/src/Makefile
+++ b/lib/ic/doc/src/Makefile
@@ -211,7 +211,11 @@ $(HTMLDIR)/%.gif: %.gif
ifdef DOCSUPPORT
+ifneq (,$(JAVA))
docs: pdf html man $(JAVADOC_GENERATED_FILES)
+else
+docs: pdf html man
+endif
$(TOP_PDF_FILE): $(XML_FILES)
@@ -301,6 +305,7 @@ release_docs_spec: docs
$(INSTALL_DATA) $(GIF_FILES) $(EXTRA_FILES) $(HTML_FILES) \
$(RELSYSDIR)/doc/html
$(INSTALL_DATA) $(INFO_FILE) $(RELSYSDIR)
+ifneq (,$(JAVA))
$(INSTALL_DIR) $(RELSYSDIR)/doc/html/java
$(INSTALL_DIR) $(RELSYSDIR)/doc/html/java/resources
$(INSTALL_DIR) $(RELSYSDIR)/doc/html/java/com
@@ -313,6 +318,7 @@ release_docs_spec: docs
$(RELSYSDIR)/doc/html/java/resources
$(INSTALL_DATA) $(JAVADOC_PACK_HTML_FILES) \
$(RELSYSDIR)/doc/html/java/com/ericsson/otp/ic
+endif
$(INSTALL_DIR) $(RELEASE_PATH)/man/man3
$(INSTALL_DATA) $(MAN3_FILES) $(RELEASE_PATH)/man/man3