X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Ftopdocs%2FGNUmakefile;h=0f81c76f1136828424e8c93a5732f65cbe85a2be;hb=859d050f0220c0b45c52a37b9825482eec0fea8c;hp=80ab9a654afbbad1f5bec54934742d62f31ddd2a;hpb=79d916d1fa2a921732f7432e87b25058693be370;p=lilypond.git diff --git a/Documentation/topdocs/GNUmakefile b/Documentation/topdocs/GNUmakefile index 80ab9a654a..0f81c76f11 100644 --- a/Documentation/topdocs/GNUmakefile +++ b/Documentation/topdocs/GNUmakefile @@ -1,22 +1,16 @@ depth = ../.. -STEPMAKE_TEMPLATES=documentation tex texinfo +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) +PDF_FILES=$(outdir)/NEWS.pdf +README_TOP_FILES=NEWS AUTHORS INSTALL README +OUTTXT_FILES= $(outdir)/NEWS.txt -#default: local-doc +include $(depth)/make/stepmake.make -include $(depth)/make/stepmake.make - -copy-to-top: $(TO_TOP_FILES) - $(foreach i, $(TO_TOP_FILES), \ - cp $(i) $(depth)/ && ) true - -cp $(outdir)/*png $(outdir)/index.html $(depth) # don't fail if not making website - -###local-WWW: copy-to-top - -local-WWW: $(HTML_FILES) copy-to-top -# we want footers even if website builds (or is built) partly - $(MAKE) footify +local-WWW-1: $(OUT_TEXI_FILES) +.SECONDARY: