diff options
author | Lukas Larsson <lukas@erlang.org> | 2021-04-23 15:10:54 +0200 |
---|---|---|
committer | Lukas Larsson <lukas@erlang.org> | 2021-05-17 17:19:46 +0200 |
commit | 504e601918e1c353e0d2a64058bc43ad69abe28d (patch) | |
tree | 48c0a88a56c14f991bb30081ddda8bb53e28a8c3 /make/doc.mk | |
parent | 47943a7b88b6875a2e99c9ed4a5ea8e68c17c05c (diff) | |
download | erlang-504e601918e1c353e0d2a64058bc43ad69abe28d.tar.gz |
otp: Fix codeinclude in reference manual documentation
Before this fix it was not possible to list an xmlsrc file
as part of REF3 in the docs.
Diffstat (limited to 'make/doc.mk')
-rw-r--r-- | make/doc.mk | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/make/doc.mk b/make/doc.mk index 4acc33913c..0e12447dc9 100644 --- a/make/doc.mk +++ b/make/doc.mk @@ -37,9 +37,15 @@ HTML_FILES = $(XML_APPLICATION_FILES:%.xml=$(HTMLDIR)/%.html) \ $(XML_HTML_FILES:%.xml=$(HTMLDIR)/%.html) \ $(XML_PART_FILES:%.xml=$(HTMLDIR)/%.html) -XML_ALL_REF3_FILES = $(XML_REF3_FILES) $(EDOC_REF3_FILES) +XML_REF3_SRC_FILES=$(filter %.xmlsrc,$(XML_REF3_FILES)) +XML_REF3_XML_FILES=$(filter %.xml,$(XML_REF3_FILES)) + +XML_ALL_REF3_FILES = $(XML_REF3_XML_FILES) $(XML_REF3_SRC_FILES:%.xmlsrc=%.xml) \ + $(EDOC_REF3_FILES) XML_CHAPTER_FILES += $(EDOC_CHAPTER_FILE) -XML_GEN_FILES += $(EDOC_REF3_FILES:%=$(XMLDIR)/%) $(EDOC_CHAPTER_FILE:%=$(XMLDIR)/%) +XML_GEN_FILES += $(EDOC_REF3_FILES:%=$(XMLDIR)/%) \ + $(EDOC_CHAPTER_FILE:%=$(XMLDIR)/%) \ + $(XML_REF3_SRC_FILES:%.xmlsrc=$(XMLDIR)/%.xml) INFO_FILE = ../../info |