summaryrefslogtreecommitdiff
path: root/system/doc/getting_started/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'system/doc/getting_started/Makefile')
-rw-r--r--system/doc/getting_started/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/system/doc/getting_started/Makefile b/system/doc/getting_started/Makefile
index 1c917895d5..47442e85e3 100644
--- a/system/doc/getting_started/Makefile
+++ b/system/doc/getting_started/Makefile
@@ -75,7 +75,9 @@ DVIPS_FLAGS +=
# Targets
# ----------------------------------------------------
-docs: html
+DOC_TARGETS?=html
+
+docs: $(DOC_TARGETS)
local_docs: PDFDIR=../../pdf
@@ -94,11 +96,11 @@ clean clean_docs:
# ----------------------------------------------------
include $(ERL_TOP)/make/otp_release_targets.mk
-release_docs_spec: docs
-# $(INSTALL_DIR) "$(RELEASE_PATH)/pdf"
-# $(INSTALL_DATA) $(TOP_PDF_FILE) "$(RELEASE_PATH)/pdf"
- $(INSTALL_DIR) $(RELSYSDIR)
- $(INSTALL_DATA) $(GIF_FILES) $(HTMLDIR)/*.html \
+release_html_spec: html
+ $(INSTALL_DIR) "$(RELSYSDIR)"
+ $(INSTALL_DATA) $(GIF_FILES) $(EXTRA_FILES) $(HTMLDIR)/*.html \
$(RELSYSDIR)
+release_docs_spec: $(DOC_TARGETS:%=release_%_spec)
+
release_spec: