X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Ftopdocs%2FGNUmakefile;h=ce3dc1f42beec03241cb71d546e8b2f99dd37385;hb=32a34dcef0c0041c6d62677487a380b5c8b85712;hp=f9ad1459d36657f5abd4b4b25c7516dc0db63c23;hpb=0cf97b5cdceecbba937f43ac827f4065aad5001e;p=lilypond.git diff --git a/Documentation/topdocs/GNUmakefile b/Documentation/topdocs/GNUmakefile index f9ad1459d3..ce3dc1f42b 100644 --- a/Documentation/topdocs/GNUmakefile +++ b/Documentation/topdocs/GNUmakefile @@ -1,12 +1,18 @@ depth = ../.. +STEPMAKE_TEMPLATES=documentation tex texinfo topdocs +LOCALSTEPMAKE_TEMPLATES=lilypond ly +OUT_TEXI_FILES = $(TELY_FILES:%.tely=$(outdir)/%.texi) +HTML_FILES=$(TEXI_FILES:%.texi=$(outdir)/%.html) $(TELY_FILES:%.tely=$(outdir)/%.html) +README_TOP_FILES=NEWS AUTHORS INSTALL README +OUTTXT_FILES= $(outdir)/NEWS.txt -STEPMAKE_TEMPLATES=documentation tex texinfo yolily-topdoc -LOCALSTEPMAKE_TEMPLATES=lilypond mudela -HTML_FILES=$(addprefix $(outdir)/, $(TEXI_FILES:.texi=.html) $(TELY_FILES:.tely=.html)) +include $(depth)/make/stepmake.make +# FIXME ad-hoc file copy? +$(outdir)/NEWS.tely: $(top-src-dir)/Documentation/changes.tely + cp -f $< $@ -include $(depth)/make/stepmake.make - -local-WWW: $(HTML_FILES) - +ifeq ($(out),www) +local-WWW-1: $(OUT_TEXI_FILES) +endif