X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=stepmake%2Fstepmake%2Ftopdocs-targets.make;h=f884cadb9a0b868abf5c0b247ab7f3c2024d7e64;hb=ace3f541e8dd24463c2e1310fcae983be048ea81;hp=b2b0ec39ccee3d83cfd26cb25470e74ff93e8e5b;hpb=864e67718a6773763b438bf57a3978a1d225f61a;p=lilypond.git diff --git a/stepmake/stepmake/topdocs-targets.make b/stepmake/stepmake/topdocs-targets.make index b2b0ec39cc..f884cadb9a 100644 --- a/stepmake/stepmake/topdocs-targets.make +++ b/stepmake/stepmake/topdocs-targets.make @@ -1,11 +1,10 @@ -default: local-doc +default: local-txt-doc -copy-to-top: $(TO_TOP_FILES) - $(foreach i, $(TO_TOP_FILES), \ - cp $(i) $(builddir) && ) true - -cp $(outroot)/out-www/*png $(outroot)/out-www/index.html $(builddir) - -cp $(outdir)/*png $(outdir)/index.html $(builddir) # don't fail when not making website +ifeq ($(out),www) +local-WWW-1: $(PDF_FILES) -local-WWW: $(HTML_FILES) copy-to-top +local-WWW-2: $(HTML_FILES) +endif +txt-files: $(TO_TOP_FILES)