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