4 # urg, can't name itely templates foo.itely.in because of standard rule
6 STEPMAKE_TEMPLATES=documentation texinfo
7 LOCALSTEPMAKE_TEMPLATES=lilypond ly
8 EXTRA_DIST_FILES += README $(call src-wildcard,*.snippet-list)
13 MAIN_INFO_DOC = lilypond-snippets
14 INFO_DOCS = lilypond-snippets
15 INFO_FILES = $(INFO_DOCS:%=$(outdir)/%.info)
16 INFO_IMAGES_DIR = lilypond-snippets
17 DEST_INFO_IMAGES_SUBDIR = input/lsr
20 include $(depth)/make/stepmake.make
22 IN_ITELY_FILES = $(call src-wildcard,*-intro.itely)
23 GENERATED_ITELY_FILES = $(IN_ITELY_FILES:%-intro.itely=$(outdir)/%.itely)
25 $(outdir)/%.itely: %-intro.itely %.snippet-list
26 xargs $(PYTHON) $(buildscript-dir)/lys-to-tely.py -f doctitle,texidoc,verbatim --name=$@ --template=$< < $(filter %.snippet-list, $^)
28 $(outdir)/lilypond-snippets.texi: $(GENERATED_ITELY_FILES) $(LY_FILES)
30 source-links = $(outdir)/source $(outdir)/lilypond-snippets/source
39 ln -sf $(depth)/.. $(@)
44 # cancel install-info target and $(INFO_FILES) 'default' target
45 # (there is no lilypond-snippets.info without images)
52 # All web targets, except info image symlinks and info docs are
53 # installed in non-recursing target from TOP-SRC-DIR
54 local-install-WWW: local-install-info
55 local-uninstall-WWW: local-uninstall-info
58 rm -f $(INFO_IMAGES_DIR)
60 local-WWW: info $(outdir)/lilypond-snippets.pdf \
61 $(outdir)/lilypond-snippets/index.html \
62 $(outdir)/lilypond-snippets-big-page.html \