aboutsummaryrefslogtreecommitdiffstats
path: root/lib/syntax_tools/doc/src/Makefile
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2018-04-12 10:16:41 +0200
committerLukas Larsson <[email protected]>2018-04-12 10:16:41 +0200
commit0f4e092e58929a9a517eb17653f4ec217f2a9132 (patch)
treed7f9ecebec69ebf5f08018b60113a45f78453213 /lib/syntax_tools/doc/src/Makefile
parentcb9fb22d0798f162c8a580d2f6751d7de0ae63dd (diff)
parenta26796d0552c737baf26e4916e8d9014215bc301 (diff)
downloadotp-0f4e092e58929a9a517eb17653f4ec217f2a9132.tar.gz
otp-0f4e092e58929a9a517eb17653f4ec217f2a9132.tar.bz2
otp-0f4e092e58929a9a517eb17653f4ec217f2a9132.zip
Merge branch 'lukas/erl_docgen/add_github_contrib_link/OTP-14979'
* lukas/erl_docgen/add_github_contrib_link/OTP-14979: erl_docgen: Remove git dependency in github link script stdlib: Fix timer monotonic time link erl_docgen: Use name based anchors where possible erl_docgen: Change ghlink icon to pencil erl_docgen: Fix ghlinks to .xmlsrc erl_docgen: Add hover links for ghlink erl_docgen: Add ghlink step for all non-generated doc xml files Fix erlang:abs/2 type docs Tickets missed in 9033a41375f3a31a18eb0cba3ea OTP-14651: temp_alloc disabling OTP-14652: msacc bugs
Diffstat (limited to 'lib/syntax_tools/doc/src/Makefile')
-rw-r--r--lib/syntax_tools/doc/src/Makefile15
1 files changed, 9 insertions, 6 deletions
diff --git a/lib/syntax_tools/doc/src/Makefile b/lib/syntax_tools/doc/src/Makefile
index 1ce620b3d6..a346b9a0bd 100644
--- a/lib/syntax_tools/doc/src/Makefile
+++ b/lib/syntax_tools/doc/src/Makefile
@@ -63,10 +63,11 @@ BOOK_FILES = book.xml
XML_FILES=\
- $(BOOK_FILES) $(XML_CHAPTER_FILES) \
- $(XML_PART_FILES) $(XML_REF3_FILES) $(XML_APPLICATION_FILES) \
+ $(BOOK_FILES) $(XML_PART_FILES) $(XML_APPLICATION_FILES) \
$(XML_NOTES_FILES)
+XML_GEN_FILES = $(XML_REF3_FILES:%=$(XMLDIR)/%) $(XML_CHAPTER_FILES:%=$(XMLDIR)/%)
+
# ----------------------------------------------------
INFO_FILE = ../../info
@@ -108,11 +109,13 @@ html: gifs $(HTML_REF_MAN_FILE)
man: $(MAN3_FILES)
-$(XML_REF3_FILES):
- escript $(DOCGEN)/priv/bin/xml_from_edoc.escript $(SRC_DIR)/$(@:%.xml=%.erl)
+$(XML_REF3_FILES:%=$(XMLDIR)/%):
+ $(gen_verbose)escript $(DOCGEN)/priv/bin/xml_from_edoc.escript \
+ -dir $(XMLDIR) $(SRC_DIR)/$(@:$(XMLDIR)/%.xml=%.erl)
-$(XML_CHAPTER_FILES):
- escript $(DOCGEN)/priv/bin/xml_from_edoc.escript -def vsn $(VSN) -chapter ../overview.edoc
+$(XML_CHAPTER_FILES:%=$(XMLDIR)/%):
+ $(gen_verbose)escript $(DOCGEN)/priv/bin/xml_from_edoc.escript -def vsn $(VSN) \
+ -chapter -dir $(XMLDIR) ../overview.edoc
gifs: $(GIF_FILES:%=$(HTMLDIR)/%)