aboutsummaryrefslogtreecommitdiffstats
path: root/lib/syntax_tools/doc/src/Makefile
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2019-04-09 10:17:03 +0200
committerHans Bolinder <[email protected]>2019-04-11 09:06:13 +0200
commite176ee0b10ae8d846ac0867576b1fd77ec397fa2 (patch)
tree2f1230081e3c2542f82037b72062a8ecc7d29dfd /lib/syntax_tools/doc/src/Makefile
parent8487c67c2e5738d05a49f110be21b9ff8943a4c9 (diff)
downloadotp-e176ee0b10ae8d846ac0867576b1fd77ec397fa2.tar.gz
otp-e176ee0b10ae8d846ac0867576b1fd77ec397fa2.tar.bz2
otp-e176ee0b10ae8d846ac0867576b1fd77ec397fa2.zip
syntax_tools: Fix doc link
A link that used to work for 'make edocs' only, now works for 'make release_docs' and on erlang.org as well.
Diffstat (limited to 'lib/syntax_tools/doc/src/Makefile')
-rw-r--r--lib/syntax_tools/doc/src/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/syntax_tools/doc/src/Makefile b/lib/syntax_tools/doc/src/Makefile
index d953287bad..b799c76177 100644
--- a/lib/syntax_tools/doc/src/Makefile
+++ b/lib/syntax_tools/doc/src/Makefile
@@ -1,7 +1,7 @@
#
# %CopyrightBegin%
#
-# Copyright Ericsson AB 2006-2018. All Rights Reserved.
+# Copyright Ericsson AB 2006-2019. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -82,6 +82,9 @@ HTML_REF_MAN_FILE = $(HTMLDIR)/index.html
TOP_PDF_FILE = $(PDFDIR)/$(APPLICATION)-$(VSN).pdf
+EXAMPLES_DIR = ../../examples
+EXAMPLES = $(EXAMPLES_DIR)/demo.erl
+
SPECS_FILES = $(XML_REF3_FILES:%.xml=$(SPECDIR)/specs_%.xml)
TOP_SPECS_FILE = specs.xml
@@ -146,5 +149,7 @@ release_docs_spec: docs
$(INSTALL_DATA) $(INFO_FILE) "$(RELSYSDIR)"
$(INSTALL_DIR) "$(RELEASE_PATH)/man/man3"
$(INSTALL_DATA) $(MAN3DIR)/* "$(RELEASE_PATH)/man/man3"
+ $(INSTALL_DIR) "$(RELSYSDIR)/examples"
+ $(INSTALL_DATA) $(EXAMPLES) "$(RELSYSDIR)/doc/html"
release_spec: