1 # ISOLANG must be defined
3 LANGS
= $(shell $(PYTHON
) $(buildscript-dir
)/langdefs.py
)
5 SOURCE_PNG_IMAGES
=$(shell ls
$(top-src-dir
)/Documentation
/user
/*.png
)
6 OUT_PNG_IMAGES
=$(SOURCE_PNG_IMAGES
:$(top-src-dir
)/Documentation
/user
/%.png
=$(outdir
)/%.png
) $(outdir
)/context-example.png
8 TELY_FILES
:= $(call src-wildcard
,*.tely
)
9 MASTER_TEXI_FILES
:= $(TELY_FILES
:%.tely
=$(outdir
)/%.texi
)
10 BIG_PAGE_HTML_FILES
:= $(BIG_PAGE_MANUALS
:%=$(outdir
)/%-big-page.html
)
11 DEEP_HTML_FILES
:= $(TELY_FILES
:%.tely
=$(outdir
)/%/index.html
)
12 PDF_FILES
:= $(TELY_FILES
:%.tely
=$(outdir
)/%.pdf
)
14 ITELY_FILES
:= $(call src-wildcard
,*.itely
)
15 ITEXI_FILES
:= $(call src-wildcard
,*.itexi
)
17 DOCUMENTATION_INCLUDES
= \
18 -I
$(top-src-dir
)/Documentation
/user \
19 -I
$(top-build-dir
)/Documentation
/user
/$(outdir
)
21 LILYPOND_BOOK_INCLUDES
+= $(DOCUMENTATION_INCLUDES
)
22 MAKEINFO_FLAGS
+= --force --enable-encoding
$(DOCUMENTATION_INCLUDES
)
23 MAKEINFO
= LANG
= $(MAKEINFO_PROGRAM
) $(MAKEINFO_FLAGS
)
25 # texi2html xref map files
26 XREF_MAPS_DIR
=$(top-build-dir
)/out
/xref-maps
27 XREF_MAPS_FILES
=$(TELY_FILES
:%.tely
=$(XREF_MAPS_DIR
)/%.
$(ISOLANG
).xref-map
)
30 TEXI2HTML_INIT
= --init-file
=$(top-src-dir
)/lilypond-texi2html.init
31 TEXI2HTML_LANG
=--lang
=$(ISOLANG
)
32 TEXI2HTML_FLAGS
+= $(TEXI2HTML_LANG
) $(DOCUMENTATION_INCLUDES
) \
34 TEXI2HTML
= LANG
= $(TEXI2HTML_PROGRAM
)
36 TEXI2PDF_FLAGS
+= --batch
$(DOCUMENTATION_INCLUDES
)