X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fmisc%2FGNUmakefile;h=a1db6cd710cc01ee9ba6409619c0b92101af1e8e;hb=90e4d7057f3857da049dfda3d130017d4719bd6b;hp=d9b79c0e6ecf49e678ccfdf7205c249e1ccac3d6;hpb=3a0e9efb7f067e5b334ba0596b95e15d96d7cc49;p=lilypond.git diff --git a/Documentation/misc/GNUmakefile b/Documentation/misc/GNUmakefile index d9b79c0e6e..a1db6cd710 100644 --- a/Documentation/misc/GNUmakefile +++ b/Documentation/misc/GNUmakefile @@ -2,19 +2,26 @@ 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]) \ + $(call src-wildcard,THANKS-*[0-9]) -include $(depth)/make/stepmake.make +include $(depth)/make/stepmake.make -default: do-doc +default: local-txt-doc -local-WWW: $(addprefix $(outdir)/, $(addsuffix .txt, $(TEXTS))) - -copy-for-me: - $(foreach a, $(README_TOP_FILES),cp ../$(a) $(outdir)/$(a).txt && ) true +#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 $(outdir)/%.txt: % cp $< $@ + +txt-to-html: + $(buildscript-dir)/text2html $(OUT_TXT_FILES) + $(footify) $(addprefix $(outdir)/, $(addsuffix .html, $(TEXTS)))