osmith has uploaded this change for review. (
https://gerrit.osmocom.org/c/osmo-gsm-manuals/+/14895
Change subject: tests: pick up subdirs inside common/chapters
......................................................................
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
---
M tests/Makefile.am
1 file changed, 3 insertions(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-manuals
refs/changes/95/14895/1
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 @@
# 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 @@
echo "====================================" >> $@
echo "Oliver Smith <[email protected]>" >> $@
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)
--
To view, visit https://gerrit.osmocom.org/c/osmo-gsm-manuals/+/14895
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-gsm-manuals
Gerrit-Branch: master
Gerrit-Change-Id: I4d1f440b7bfef159c98f918a2d23069594c4bc95
Gerrit-Change-Number: 14895
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <[email protected]>
Gerrit-MessageType: newchange