diff options
author | Lukas Larsson <lukas@erlang.org> | 2020-02-21 10:19:05 +0100 |
---|---|---|
committer | Lukas Larsson <lukas@erlang.org> | 2020-02-24 10:02:51 +0100 |
commit | 48ecc7a66a23be4d3b8bb7976aaae0ba8e72f0e8 (patch) | |
tree | 666910810e54cc16652603cb1ccf05fa8b4d3601 /system/doc/system_architecture_intro | |
parent | 31c270cc9d696763dfbdf0d4438142e87dbb95ec (diff) | |
download | erlang-48ecc7a66a23be4d3b8bb7976aaae0ba8e72f0e8.tar.gz |
Add DOC_TARGETS makefile variable
The variable can be set to pdf, html, man or chunks
and also any combination of the above.
Diffstat (limited to 'system/doc/system_architecture_intro')
-rw-r--r-- | system/doc/system_architecture_intro/Makefile | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/system/doc/system_architecture_intro/Makefile b/system/doc/system_architecture_intro/Makefile index ea9ee85105..a7b00b4ec5 100644 --- a/system/doc/system_architecture_intro/Makefile +++ b/system/doc/system_architecture_intro/Makefile @@ -70,7 +70,9 @@ DVIPS_FLAGS += # Targets # ---------------------------------------------------- -docs: html +DOC_TARGETS?=html + +docs: $(DOC_TARGETS) local_docs: PDFDIR=../../pdf @@ -89,13 +91,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_spec: - +release_docs_spec: $(DOC_TARGETS:%=release_%_spec) +release_spec: |