X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=stepmake%2Fstepmake%2Ftopdocs-targets.make;h=f884cadb9a0b868abf5c0b247ab7f3c2024d7e64;hb=d59856c2469b4b1e7f18a4ec9c5c0da4107f9de3;hp=ca8bd0b4d0e710afeefa02b12b523724cc29d133;hpb=f9efd2c54b174591fa42889557686c7aea356547;p=lilypond.git diff --git a/stepmake/stepmake/topdocs-targets.make b/stepmake/stepmake/topdocs-targets.make index ca8bd0b4d0..f884cadb9a 100644 --- a/stepmake/stepmake/topdocs-targets.make +++ b/stepmake/stepmake/topdocs-targets.make @@ -1,13 +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 -# we want footers even if website builds (or is built) partly - $(MAKE) footify +local-WWW-2: $(HTML_FILES) +endif +txt-files: $(TO_TOP_FILES)