X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fmisc%2FGNUmakefile;h=00fe5ae8260622cc6834613df40a8ea6c3943eee;hb=c20fff645e325d392d2588721144f4204d0ef9da;hp=003590955bb2f06eb1583a4fd4d755a0b48eed40;hpb=685452c8675e89a84692420fb9891756d318e771;p=lilypond.git diff --git a/Documentation/misc/GNUmakefile b/Documentation/misc/GNUmakefile index 003590955b..00fe5ae826 100644 --- a/Documentation/misc/GNUmakefile +++ b/Documentation/misc/GNUmakefile @@ -2,19 +2,25 @@ depth = ../.. NAME = documentation -STEPMAKE_TEMPLATES=documentation texinfo +STEPMAKE_TEMPLATES = documentation texinfo -TEXTS =AIMS $(wildcard CHANGES-*[0-9]) $(wildcard ANNOUNCE-*[0-9]) $(wildcard NEWS-*[0-9]) interview -EXTRA_DIST_FILES = $(TEXTS) +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]) -include $(depth)/make/stepmake.make +include $(depth)/make/stepmake.make -default: local-doc +default: local-txt-doc -local-WWW: $(addprefix $(outdir)/, $(addsuffix .txt, $(TEXTS))) +#urg default local-WWW target uses footify before its time; +# must add footify with txt-to-html target +OUT_TXT_FILES = $(addprefix $(outdir)/, $(addsuffix .txt, $(TEXTS))) +##local-WWW-2: $(OUT_TXT_FILES) $(OUT_HTMLFILES) txt-to-html copy-for-me: - $(foreach a, $(README_TOP_FILES),cp ../$(a) $(outdir)/$(a).txt && ) true + $(foreach a, $(README_TOP_FILES), cp ../$(a) $(outdir)/$(a).txt && ) true $(outdir)/%.txt: % cp $< $@ + +txt-to-html: + $(PYTHON) $(step-bindir)/text2html.py $(OUT_TXT_FILES) + $(footify) $(addprefix $(outdir)/, $(addsuffix .html, $(TEXTS)))