diff options
authorOliver Smith <>2018-11-13 14:59:29 +0100
committerOliver Smith <>2018-11-20 17:13:25 +0100
commit712e2a2e3f093406327146e32b8896b0e073d8f1 (patch)
parent84629eee1e54e9ed7543d5d95e04def7964fce37 (diff)
make check: properly reference dependencies
Use $(ASCIIDOC_DEPS) instead of assuming that the value would be "chapters/*.adoc". The variable exists already, but it was not used yet in 'make check' of This allows creating a tests dir without its own chapters subdir (follow-up commit), which is part of a larger effort to move manuals to project repositories. The reason for moving manuals to project repositories is that we can have documentation changes together with code changes in the same patches. Not part of this patchset, but possible in the future, is optionally building UNIX man pages in the project repositories (OS#3386) as well as generating the VTY documentation on the fly from running the project binaries (OS#3695). (moving manuals to project repositories 1/19) Related: OS#3386 Change-Id: Id8b26759607a3490d6cbd93c68ba1f89aa8ef1f2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/ b/build/
index a3c95fe..c2b0961 100644
--- a/build/
+++ b/build/
@@ -62,7 +62,7 @@ $(ASCIIDOC_PDF): %.pdf: %.adoc %-docinfo.xml \
-$(ASCIIDOC_CHECKS): %.check: %.adoc %-docinfo.xml $(ASCIIDOCSTYLE) $(TOPDIR)/common/chapters/*.adoc chapters/*.adoc
+$(ASCIIDOC_CHECKS): %.check: %.adoc %-docinfo.xml $(ASCIIDOCSTYLE) $(TOPDIR)/common/chapters/*.adoc $(ASCIIDOC_DEPS)
asciidoc -v $(ASCIIDOC_OPTS) $< > $@ 2>&1
# Make absolutely sure that the %.check target is updated.
touch $@