lilypond-1.4.3
[lilypond.git] / Documentation / misc / GNUmakefile
blob183762facc2469c879a076d4194f7fac3cad22d8
1 depth = ../..
3 NAME = documentation
5 STEPMAKE_TEMPLATES=documentation texinfo
7 TEXTS =AIMS $(wildcard CHANGES-*[0-9]) $(wildcard ANNOUNCE-*[0-9]) $(wildcard NEWS-*[0-9]) interview
8 EXTRA_DIST_FILES = $(TEXTS)
10 include $(depth)/make/stepmake.make
12 default: local-doc
14 #urg default local-WWW target uses footify before its time;
15 # must add footify with txt-to-html target
16 OUT_TXT_FILES = $(addprefix $(outdir)/, $(addsuffix .txt, $(TEXTS)))
17 local-WWW: $(OUT_TXT_FILES) $(OUT_HTMLFILES) txt-to-html
19 copy-for-me:
20 $(foreach a, $(README_TOP_FILES), cp ../$(a) $(outdir)/$(a).txt && ) true
22 $(outdir)/%.txt: %
23 cp $< $@
25 txt-to-html:
26 $(PYTHON) $(step-bindir)/text2html.py $(OUT_TXT_FILES)
27 $(footify) $(addprefix $(outdir)/, $(addsuffix .html, $(TEXTS)))