]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/lilypond-book/GNUmakefile
Build: Run regression tests for lilypond-book (issue 2223).
[lilypond.git] / input / regression / lilypond-book / GNUmakefile
index 6081f7fe36d84daf75f222b41d94ae2b7841b816..a1b4dd6b623da24108f431ffe09bf125a4bebb42 100644 (file)
@@ -3,16 +3,28 @@ depth = ../../..
 STEPMAKE_TEMPLATES=documentation texinfo
 LOCALSTEPMAKE_TEMPLATES=lilypond ly lysdoc lilypond-book
 
-COLLATED_FILES = $(OUT_FILES)
-
 include $(depth)/make/stepmake.make
 
 TITLE=lilypond-book Test Suite
 
+COLLATED_FILES = $(OUT_FILES)
+
 EXTRA_DIST_FILES = include.mxl
+EXTRA_DIST_FILES += include.xml
 EXTRA_DIST_FILES += $(call src-wildcard,*.ly)
 EXTRA_DIST_FILES += $(call src-wildcard,*.ily)
 EXTRA_DIST_FILES += $(call src-wildcard,*.tely)
 EXTRA_DIST_FILES += $(call src-wildcard,*.itely)
 
+XML_FILES = $(filter-out include%,$(call src-wildcard,*.xml))
+
+local-test: $(OUT_FILES)
+
+$(outdir)/collated-files.list: $(OUT_FILES)
+       echo $(sort $(OUT_FILES)) > $@
+
+$(outdir)/suffix-texi.texi: suffix-texi.texi $(outdir)/version.itexi $(DOCUMENTATION_LOCALE_TARGET) $(INIT_LY_SOURCES) $(SCHEME_SOURCES)
+       LILYPOND_VERSION=$(TOPLEVEL_VERSION) $(PYTHON) $(LILYPOND_BOOK) $(LILYPOND_BOOK_INCLUDES) --process='$(LILYPOND_BOOK_PROCESS) $(LILYPOND_BOOK_LILYPOND_FLAGS)' --output=$(outdir) --format=$(LILYPOND_BOOK_FORMAT) $(LILYPOND_BOOK_FLAGS) --redirect-lilypond-output $<
 
+# Prevent parallel lilypond-book instances for this subdir
+.NOTPARALLEL: