diff options
author | Lukas Larsson <[email protected]> | 2017-10-23 13:10:21 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2017-10-31 13:46:05 +0100 |
commit | cc8dade5326d130f1c704f7a47a4d0ce88af370e (patch) | |
tree | c37437457583382f00ddcb13075c89bf17d7fe10 /lib/runtime_tools/doc/src/Makefile | |
parent | 1a1fe80bb3b3bfc6705d4a581f109d0a8e5a8c2e (diff) | |
download | otp-cc8dade5326d130f1c704f7a47a4d0ce88af370e.tar.gz otp-cc8dade5326d130f1c704f7a47a4d0ce88af370e.tar.bz2 otp-cc8dade5326d130f1c704f7a47a4d0ce88af370e.zip |
Refactor xmllint check and make it fail on failure
This commit also adds a check to see that all files that
are part of an xi:include also have part of XML_FILES
and vice versa. It also fixes any applications where this
was not true.
Diffstat (limited to 'lib/runtime_tools/doc/src/Makefile')
-rw-r--r-- | lib/runtime_tools/doc/src/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/runtime_tools/doc/src/Makefile b/lib/runtime_tools/doc/src/Makefile index dad229e193..ec19a4ce59 100644 --- a/lib/runtime_tools/doc/src/Makefile +++ b/lib/runtime_tools/doc/src/Makefile @@ -45,7 +45,7 @@ XML_REF3_FILES = dbg.xml dyntrace.xml erts_alloc_config.xml system_information.x XML_REF6_FILES = runtime_tools_app.xml XML_PART_FILES = part.xml -XML_CHAPTER_FILES = notes.xml notes_history.xml LTTng.xml +XML_CHAPTER_FILES = notes.xml LTTng.xml GENERATED_XML_FILES = DTRACE.xml SYSTEMTAP.xml @@ -54,7 +54,8 @@ BOOK_FILES = book.xml XML_FILES = \ $(BOOK_FILES) $(XML_CHAPTER_FILES) \ $(XML_PART_FILES) $(XML_REF3_FILES) \ - $(XML_REF6_FILES) $(XML_APPLICATION_FILES) + $(XML_REF6_FILES) $(XML_APPLICATION_FILES) \ + $(GENERATED_XML_FILES) GIF_FILES = @@ -89,7 +90,6 @@ SPECS_FLAGS = -I../../include -I../../../kernel/src # ---------------------------------------------------- # Targets # ---------------------------------------------------- -$(XML_FILES): $(GENERATED_XML_FILES) %.xml: $(ERL_TOP)/HOWTO/%.md $(ERL_TOP)/make/emd2exml $(ERL_TOP)/make/emd2exml $< $@ |