summaryrefslogtreecommitdiffstats
path: root/tests/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Makefile')
-rw-r--r--tests/Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/tests/Makefile b/tests/Makefile
new file mode 100644
index 0000000..0b914e9
--- /dev/null
+++ b/tests/Makefile
@@ -0,0 +1,30 @@
+TOPDIR = ..
+
+# Generate adoc file that includes all chapters
+ASCIIDOC = test-usermanual.adoc
+ASCIIDOC_DEPS =
+$(ASCIIDOC): $(TOPDIR)/common/chapters/*.adoc
+ echo ":gfdl-enabled:" > $@
+ echo ":program-name: Test" >> $@
+ echo "" >> $@
+ echo "Osmo GSM Manuals Shared Content Test" >> $@
+ echo "====================================" >> $@
+ echo "Oliver Smith <osmith@sysmocom.de>" >> $@
+ echo "" >> $@
+ for chapter in $(TOPDIR)/common/chapters/*.adoc; do \
+ echo "include::$${chapter}[]" >> $@; \
+ done;
+CLEAN_FILES = $(ASCIIDOC)
+
+include $(TOPDIR)/build/Makefile.asciidoc.inc
+
+VTY_REFERENCE = test-vty-reference.xml
+include $(TOPDIR)/build/Makefile.vty-reference.inc
+include $(TOPDIR)/build/Makefile.common.inc
+
+
+default: all check
+
+
+.DEFAULT_GOAL := default
+.PHONY: default