aboutsummaryrefslogtreecommitdiffstats
path: root/system/doc/top/Makefile
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2017-10-23 13:10:21 +0200
committerLukas Larsson <[email protected]>2017-10-31 13:46:05 +0100
commitcc8dade5326d130f1c704f7a47a4d0ce88af370e (patch)
treec37437457583382f00ddcb13075c89bf17d7fe10 /system/doc/top/Makefile
parent1a1fe80bb3b3bfc6705d4a581f109d0a8e5a8c2e (diff)
downloadotp-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/doc/top/Makefile')
-rw-r--r--system/doc/top/Makefile6
1 files changed, 4 insertions, 2 deletions
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