]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/misc/GNUmakefile
Remove StepMake as a separate package
[lilypond.git] / Documentation / misc / GNUmakefile
1 depth = ../..
2
3 NAME = documentation
4
5 STEPMAKE_TEMPLATES = documentation texinfo
6
7 TEXTS = $(call src-wildcard,ANNOUNCE-*[0-9]) $(call src-wildcard,CHANGES-*[0-9]) $(call src-wildcard,ChangeLog*[0-9]) $(call src-wildcard,NEWS-*[0-9])
8
9 include $(depth)/make/stepmake.make
10
11 default: local-txt-doc
12
13 #urg default local-WWW target uses footify before its time;
14 # must add footify with txt-to-html target
15 OUT_TXT_FILES = $(addprefix $(outdir)/, $(addsuffix .txt, $(TEXTS)))
16 ##local-WWW-2: $(OUT_TXT_FILES) $(OUT_HTMLFILES) txt-to-html
17
18 copy-for-me:
19         $(foreach a, $(README_TOP_FILES), cp ../$(a) $(outdir)/$(a).txt && ) true
20
21 $(outdir)/%.txt: %
22         cp $< $@
23
24 txt-to-html:
25         $(buildscript-dir)/text2html $(OUT_TXT_FILES)
26         $(footify) $(addprefix $(outdir)/, $(addsuffix .html, $(TEXTS)))