aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/doc/src/Makefile
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2018-09-10 11:19:42 +0200
committerIngela Anderton Andin <[email protected]>2019-02-05 14:43:48 +0100
commite042afe54727ae490d47eae47c6d9a210f04dd47 (patch)
tree7999d1adfd7226d276903737cce6104a7230f4d2 /lib/ssl/doc/src/Makefile
parent949c725abcc649e508d971cbc82f5278e050db2c (diff)
downloadotp-e042afe54727ae490d47eae47c6d9a210f04dd47.tar.gz
otp-e042afe54727ae490d47eae47c6d9a210f04dd47.tar.bz2
otp-e042afe54727ae490d47eae47c6d9a210f04dd47.zip
ssl: Use specs to generate type documentation
Diffstat (limited to 'lib/ssl/doc/src/Makefile')
-rw-r--r--lib/ssl/doc/src/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/ssl/doc/src/Makefile b/lib/ssl/doc/src/Makefile
index c72b6d6cc4..7cf251d8f9 100644
--- a/lib/ssl/doc/src/Makefile
+++ b/lib/ssl/doc/src/Makefile
@@ -80,11 +80,16 @@ 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 +=
DVIPS_FLAGS +=
+SPECS_FLAGS = -I../../../public_key/include -I../../../public_key/src -I../../..
# ----------------------------------------------------
# Targets
@@ -92,7 +97,7 @@ DVIPS_FLAGS +=
$(HTMLDIR)/%.gif: %.gif
$(INSTALL_DATA) $< $@
-docs: pdf html man
+docs: html pdf man
$(TOP_PDF_FILE): $(XML_FILES)
@@ -105,6 +110,7 @@ clean clean_docs:
rm -rf $(XMLDIR)
rm -f $(MAN3DIR)/*
rm -f $(TOP_PDF_FILE) $(TOP_PDF_FILE:%.pdf=%.fo)
+ rm -f $(SPECS_FILES)
rm -f errs core *~
man: $(MAN3_FILES) $(MAN6_FILES)