3 # urg, can't name itely templates foo.itely.in because of standard rule
5 STEPMAKE_TEMPLATES=documentation texinfo tex
6 LOCALSTEPMAKE_TEMPLATES=lilypond ly
7 EXTRA_DIST_FILES += README $(call src-wildcard,*.snippet-list)
9 MAIN_INFO_DOC = lilypond-snippets
10 INFO_DOCS = lilypond-snippets
11 INFO_FILES = $(INFO_DOCS:%=$(outdir)/%.info)
12 INFO_IMAGES_DIR = lilypond-snippets
13 DEST_INFO_IMAGES_SUBDIR = input/lsr
15 include $(depth)/make/stepmake.make
17 IN_ITELY_FILES = $(call src-wildcard,*-intro.itely)
18 GENERATED_ITELY_FILES = $(IN_ITELY_FILES:%-intro.itely=$(outdir)/%.itely)
20 $(outdir)/%.itely: %-intro.itely %.snippet-list
21 xargs $(PYTHON) $(buildscript-dir)/lys-to-tely.py -f printfilename,texidoc,verbatim --name=$@ --template=$< < $(filter %.snippet-list, $^)
23 $(outdir)/lilypond-snippets.texi: $(GENERATED_ITELY_FILES)
28 # cancel install-info target
29 # (there is no lilypond-snippets.info without images)
34 # All web targets, except info image symlinks and info docs are
35 # installed in non-recursing target from TOP-SRC-DIR
36 local-install-WWW: local-install-info
37 local-uninstall-WWW: local-uninstall-info
40 rm -f $(INFO_IMAGES_DIR)
42 local-WWW: info $(outdir)/lilypond-snippets.pdf \
43 $(outdir)/lilypond-snippets/index.html \
44 $(outdir)/lilypond-snippets-big-page.html