aboutsummaryrefslogtreecommitdiffstats
path: root/lib/syntax_tools/doc/src/Makefile
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2016-06-20 10:22:53 +0200
committerHans Bolinder <[email protected]>2016-07-07 08:39:50 +0200
commit62074986287e10155293d19ac38659ed9521c018 (patch)
tree60ce33b0ce2ed6f3c5056b2df6553ab19b44a29c /lib/syntax_tools/doc/src/Makefile
parent0b89e802b9db0ec812a6edaafa584a00e1271c4d (diff)
downloadotp-62074986287e10155293d19ac38659ed9521c018.tar.gz
otp-62074986287e10155293d19ac38659ed9521c018.tar.bz2
otp-62074986287e10155293d19ac38659ed9521c018.zip
syntax_tools: Improve seealso:s referring to types
Extract specs och types from source files, which ensures that seealso:s referring to, for example, erl_parse:abstract_form(), are assigned working links.
Diffstat (limited to 'lib/syntax_tools/doc/src/Makefile')
-rw-r--r--lib/syntax_tools/doc/src/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/syntax_tools/doc/src/Makefile b/lib/syntax_tools/doc/src/Makefile
index ff4f3f78ff..e55222e59c 100644
--- a/lib/syntax_tools/doc/src/Makefile
+++ b/lib/syntax_tools/doc/src/Makefile
@@ -81,10 +81,15 @@ HTML_REF_MAN_FILE = $(HTMLDIR)/index.html
TOP_PDF_FILE = $(PDFDIR)/$(APPLICATION)-$(VSN).pdf
+SPECS_FILES = $(XML_REF3_FILES:%.xml=$(SPECDIR)/specs_%.xml)
+
+TOP_SPECS_FILE = specs.xml
+
# ----------------------------------------------------
# FLAGS
# ----------------------------------------------------
XML_FLAGS +=
+SPECS_FLAGS = -I../../include
DVIPS_FLAGS +=
# ----------------------------------------------------
@@ -93,7 +98,7 @@ DVIPS_FLAGS +=
$(HTMLDIR)/%.gif: %.gif
$(INSTALL_DATA) $< $@
-docs: pdf html man
+docs: man pdf html
$(TOP_PDF_FILE): $(XML_FILES)
@@ -120,6 +125,7 @@ clean clean_docs:
rm -f $(MAN3DIR)/*
rm -f $(XML_REF3_FILES) $(XML_CHAPTER_FILES) *.html
rm -f $(TOP_PDF_FILE) $(TOP_PDF_FILE:%.pdf=%.fo)
+ rm -f $(SPECDIR)/*
rm -f errs core *~
# ----------------------------------------------------