aboutsummaryrefslogtreecommitdiffstats
path: root/erts/doc/src/Makefile
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2018-07-07 11:33:54 +0200
committerBjörn Gustavsson <[email protected]>2019-04-04 12:30:20 +0200
commitfa9e189d90a35f2ce4b7fc145c994828f34b3548 (patch)
tree8031ef661e551a2e4e557f3401b6a857293e7fa9 /erts/doc/src/Makefile
parent0a8bb0bc0a33ddd100278f35460cdfaffa7c15ae (diff)
downloadotp-fa9e189d90a35f2ce4b7fc145c994828f34b3548.tar.gz
otp-fa9e189d90a35f2ce4b7fc145c994828f34b3548.tar.bz2
otp-fa9e189d90a35f2ce4b7fc145c994828f34b3548.zip
erl_docgen: Add new internal docs chapter to docs
Diffstat (limited to 'erts/doc/src/Makefile')
-rw-r--r--erts/doc/src/Makefile21
1 files changed, 20 insertions, 1 deletions
diff --git a/erts/doc/src/Makefile b/erts/doc/src/Makefile
index 06a8691c0e..8f0e47f85f 100644
--- a/erts/doc/src/Makefile
+++ b/erts/doc/src/Makefile
@@ -67,7 +67,21 @@ XML_REF3_FILES = \
erts_alloc.xml
XML_PART_FILES = \
- part.xml
+ part.xml internal.xml
+
+XML_INTERNAL_FILES = \
+ CarrierMigration.xml \
+ ThreadProgress.xml \
+ CodeLoading.xml \
+ Tracing.xml \
+ DelayedDealloc.xml \
+ beam_makeops.xml \
+ GarbageCollection.xml \
+ PTables.xml \
+ PortSignals.xml \
+ ProcessManagementOptimizations.xml \
+ SuperCarrier.xml
+
XML_CHAPTER_FILES = \
introduction.xml \
@@ -97,6 +111,8 @@ XML_FILES = \
$(BOOK_FILES) $(XML_CHAPTER_FILES) \
$(XML_PART_FILES) $(XML_REF3_FILES) $(XML_REF1_FILES) $(XML_APPLICATION_FILES)
+XML_GEN_FILES = $(XML_INTERNAL_FILES:%=$(XMLDIR)/%)
+
# ----------------------------------------------------
HTML_FILES = $(XML_APPLICATION_FILES:%.xml=$(HTMLDIR)/%.html) \
@@ -164,6 +180,9 @@ $(SPECDIR)/specs_%.xml:
$(gen_verbose)escript $(SPECS_EXTRACTOR) $(SPECS_FLAGS) \
-o$(dir $@) -module $(patsubst $(SPECDIR)/specs_%.xml,%,$@)
+$(XMLDIR)/%.xml: ../../emulator/internal_doc/%.md $(ERL_TOP)/make/emd2exml
+ $(ERL_TOP)/make/emd2exml $< $@
+
# ----------------------------------------------------
# Release Target
# ----------------------------------------------------