]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/lilypond-book/GNUmakefile
3f27361283c00b4815715fd08857a5e5205399d7
[lilypond.git] / input / regression / lilypond-book / GNUmakefile
1 depth = ../../..
2
3 STEPMAKE_TEMPLATES=documentation texinfo
4 LOCALSTEPMAKE_TEMPLATES=lilypond ly lysdoc lilypond-book
5
6 include $(depth)/make/stepmake.make
7
8 TITLE=lilypond-book Test Suite
9
10 SUBDIRS=include
11
12 COLLATED_FILES = $(OUT_FILES)
13
14 EXTRA_DIST_FILES = include.mxl
15 EXTRA_DIST_FILES += include.xml
16 EXTRA_DIST_FILES += $(call src-wildcard,*.ly)
17 EXTRA_DIST_FILES += $(call src-wildcard,*.ily)
18 EXTRA_DIST_FILES += $(call src-wildcard,*.tely)
19 EXTRA_DIST_FILES += $(call src-wildcard,*.itely)
20
21 OUT_TEXI_FILES += ${TEXI_FILES:%.texi=$(outdir)/%.info}
22 OUT_TEXI_FILES += ${TEXI_FILES:%.texi=$(outdir)/%.pdf}
23 OUT_TEXINFO_FILES += ${TEXINFO_FILES:%.texinfo=$(outdir)/%.info}
24 OUT_TEXINFO_FILES += ${TEXINFO_FILES:%.texinfo=$(outdir)/%.pdf}
25 OUT_TELY_FILES += ${TELY_FILES:%.tely=$(outdir)/%.info}
26 OUT_TELY_FILES += ${TELY_FILES:%.tely=$(outdir)/%.pdf}
27
28 XML_FILES = $(filter-out include%,$(call src-wildcard,*.xml))
29
30 local-test: $(OUT_FILES)
31
32 $(outdir)/collated-files.list: $(OUT_FILES)
33         echo $(sort $(filter-out %.xml,$(OUT_FILES))) > $@
34
35 $(outdir)/suffix-texi.texi: suffix-texi.texi $(outdir)/version.itexi $(DOCUMENTATION_LOCALE_TARGET) $(INIT_LY_SOURCES) $(SCHEME_SOURCES)
36         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 $<
37
38 # Due to automatic language detection the standard rule using the script
39 # extract_texi_filenames would create .es.xref-map for these files. The
40 # following rule is to circumvent this for the purpose of the build. For
41 # the regression tests the .xref-map files are empty and not used anyway.
42 $(XREF_MAPS_DIR)/texinfo-include-language-detection.xref-map $(XREF_MAPS_DIR)/texinfo-language-detection.xref-map: %:
43         touch $@
44
45 # Prevent parallel lilypond-book instances for this subdir
46 .NOTPARALLEL: