diff options
author | Oliver Smith <osmith@sysmocom.de> | 2019-07-22 13:45:09 +0200 |
---|---|---|
committer | laforge <laforge@gnumonks.org> | 2019-07-22 19:49:16 +0000 |
commit | c19708bf1ad66f07224e2d99c5d064044db1ddcb (patch) | |
tree | 59cc041e15bab9ab27b1bf65ef52324ecc5cabf8 /tests | |
parent | 061cca4d7345bc4f496324d0b4d30bc51e1f8d23 (diff) |
tests: pick up subdirs inside common/chapters
The Osmux documentation that will be introduced in [1] creates a
common/chapters/osmux/ subdir. Update tests/Makefile.am to pick up the
files in that directory too, so they get built by jenkins during gerrit
verification.
[1] I182d94c63f7d74ef882b77be59a95b1b7d8a4e5e
Change-Id: I4d1f440b7bfef159c98f918a2d23069594c4bc95
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Makefile.am | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am index 7dc9544..b2f579d 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -9,7 +9,8 @@ OSMO_GSM_MANUALS_NO_INSTALL = 1 # Generate adoc file that includes all chapters ASCIIDOC = test-usermanual.adoc ASCIIDOC_DEPS = -$(ASCIIDOC): $(OSMO_GSM_MANUALS_DIR)/common/chapters/*.adoc +COMMON_CHAPTERS = $(shell find $(OSMO_GSM_MANUALS_DIR)/common/chapters -name '*.adoc') +$(ASCIIDOC): $(COMMON_CHAPTERS) echo ":gfdl-enabled:" > $@ echo ":program-name: Test" >> $@ echo "" >> $@ @@ -17,7 +18,7 @@ $(ASCIIDOC): $(OSMO_GSM_MANUALS_DIR)/common/chapters/*.adoc echo "====================================" >> $@ echo "Oliver Smith <osmith@sysmocom.de>" >> $@ echo "" >> $@ - for chapter in $(OSMO_GSM_MANUALS_DIR)/common/chapters/*.adoc; do \ + for chapter in $(COMMON_CHAPTERS); do \ echo "include::$${chapter}[]" >> $@; \ done; CLEAN_FILES = $(ASCIIDOC) |