]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/lilypond-book/GNUmakefile
Make distributed tarball from Git file list
[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 COLLATED_FILES = $(OUT_FILES)
11
12 OUT_TEXI_FILES += ${TEXI_FILES:%.texi=$(outdir)/%.info}
13 OUT_TEXI_FILES += ${TEXI_FILES:%.texi=$(outdir)/%.pdf}
14 OUT_TEXINFO_FILES += ${TEXINFO_FILES:%.texinfo=$(outdir)/%.info}
15 OUT_TEXINFO_FILES += ${TEXINFO_FILES:%.texinfo=$(outdir)/%.pdf}
16 OUT_TELY_FILES += ${TELY_FILES:%.tely=$(outdir)/%.info}
17 OUT_TELY_FILES += ${TELY_FILES:%.tely=$(outdir)/%.pdf}
18
19 XML_FILES = $(filter-out include%,$(call src-wildcard,*.xml))
20
21 local-test: $(OUT_FILES)
22
23 $(outdir)/collated-files.list: $(OUT_FILES)
24         echo $(sort $(filter-out %.xml,$(OUT_FILES))) > $@
25
26 $(outdir)/suffix-texi.texi: suffix-texi.texi $(outdir)/version.itexi $(DOCUMENTATION_LOCALE_TARGET) $(INIT_LY_SOURCES) $(SCHEME_SOURCES)
27         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 $<
28
29 # Due to automatic language detection the standard rule using the script
30 # extract_texi_filenames would create .es.xref-map for these files. The
31 # following rule is to circumvent this for the purpose of the build. For
32 # the regression tests the .xref-map files are empty and not used anyway.
33 $(XREF_MAPS_DIR)/texinfo-include-language-detection.xref-map $(XREF_MAPS_DIR)/texinfo-language-detection.xref-map: %:
34         touch $@
35
36 # Prevent parallel lilypond-book instances for this subdir
37 .NOTPARALLEL: