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 /system | |
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 'system')
-rw-r--r-- | system/doc/efficiency_guide/xmlfiles.mk | 4 | ||||
-rw-r--r-- | system/doc/reference_manual/xmlfiles.mk | 5 | ||||
-rw-r--r-- | system/doc/top/Makefile | 6 |
3 files changed, 9 insertions, 6 deletions
diff --git a/system/doc/efficiency_guide/xmlfiles.mk b/system/doc/efficiency_guide/xmlfiles.mk index 88df9417f5..23c0d991b4 100644 --- a/system/doc/efficiency_guide/xmlfiles.mk +++ b/system/doc/efficiency_guide/xmlfiles.mk @@ -29,5 +29,5 @@ EFF_GUIDE_CHAPTER_FILES = \ processes.xml \ profiling.xml \ tablesDatabases.xml \ - drivers.xml - + drivers.xml \ + retired_myths.xml diff --git a/system/doc/reference_manual/xmlfiles.mk b/system/doc/reference_manual/xmlfiles.mk index 61637ae701..fffcbdd911 100644 --- a/system/doc/reference_manual/xmlfiles.mk +++ b/system/doc/reference_manual/xmlfiles.mk @@ -30,5 +30,6 @@ REF_MAN_CHAPTER_FILES = \ processes.xml \ distributed.xml \ code_loading.xml \ - ports.xml - + ports.xml \ + character_set.xml \ + typespec.xml diff --git a/system/doc/top/Makefile b/system/doc/top/Makefile index 116ec688fa..b6a80aadf5 100644 --- a/system/doc/top/Makefile +++ b/system/doc/top/Makefile @@ -50,6 +50,8 @@ include ../tutorial/xmlfiles.mk include ../design_principles/xmlfiles.mk include ../oam/xmlfiles.mk +BOOK_FILES = book.xml + XML_FILES = \ $(INST_GUIDE_CHAPTER_FILES:%=../installation_guide/%) \ $(SYSTEM_PRINCIPLES_CHAPTER_FILES:%=../system_principles/%) \ @@ -70,9 +72,9 @@ XML_FILES = \ ../efficiency_guide/part.xml \ ../tutorial/part.xml \ ../design_principles/part.xml \ - ../oam/part.xml + ../oam/part.xml \ + $(BOOK_FILES) -BOOK_FILES = book.xml XMLLINT_SRCDIRS= ../installation_guide:../system_principles:../embedded:../getting_started:../reference_manual:../programming_examples:../efficiency_guide:../tutorial:../design_principles:../oam HTMLDIR= ../html |