X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Ftopdocs%2FGNUmakefile;h=037cc39f1ae753310d903e5db8f4442c4d705911;hb=24dfb6b08ed4e47aeab35c46ddd9470aecd1e34a;hp=cfef86420064dd6e8a84af05e85aa648460ad10c;hpb=8da6cef580cce3365b219f6aca429b434cb60fcf;p=lilypond.git diff --git a/Documentation/topdocs/GNUmakefile b/Documentation/topdocs/GNUmakefile index cfef864200..037cc39f1a 100644 --- a/Documentation/topdocs/GNUmakefile +++ b/Documentation/topdocs/GNUmakefile @@ -1,14 +1,20 @@ depth = ../.. - -STEPMAKE_TEMPLATES=documentation tex texinfo yolily-topdoc +STEPMAKE_TEMPLATES=documentation tex texinfo topdocs LOCALSTEPMAKE_TEMPLATES=lilypond ly -HTML_FILES=$(addprefix $(outdir)/, $(TEXI_FILES:.texi=.html) $(TELY_FILES:.tely=.html)) +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 +include $(depth)/make/stepmake.make -include $(depth)/make/stepmake.make +# FIXME ad-hoc file copy? +$(outdir)/NEWS.tely: $(top-src-dir)/Documentation/changes.tely + cp -f $< $@ -local-WWW: $(HTML_FILES) -# we want footers even if website builds (or is built) partly - $(MAKE) footify +ifeq ($(out),www) +local-WWW-1: $(OUT_TEXI_FILES) +endif +.SECONDARY: