From: Han-Wen Nienhuys Date: Wed, 31 May 2006 15:46:48 +0000 (+0000) Subject: simplify local-WWW-post. X-Git-Tag: release/2.10.0-2~612 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=5283e4eb669207b8e1802438179b3f0681f5b1cc;p=lilypond.git simplify local-WWW-post. remove -type l from find. --- diff --git a/GNUmakefile.in b/GNUmakefile.in index 2617397199..78ae0eeb5a 100644 --- a/GNUmakefile.in +++ b/GNUmakefile.in @@ -76,9 +76,9 @@ local-WWW-post: ## rewrite file names so we lose out-www -mv $(outdir)/web-root/ $(outdir)/old-web-root - for d in out-www `cd $(top-build-dir) && find Documentation input -name 'out-www' -or -type l`; do \ + for d in out-www `cd $(top-build-dir) && find Documentation input -name 'out-www' `; do \ (mkdir -p $(outdir)/web-root/$$d/ || true) ; \ - rsync -a $(foreach pat,$(web-ext), --include '*'.$(pat)) $(top-build-dir)/$$d/ $(outdir)/web-root/$$d/../ ; \ + rsync -a --include source $(foreach pat,$(web-ext), --include '*'.$(pat)) $(top-build-dir)/$$d/ $(outdir)/web-root/$$d/../ ; \ done ## todo: use --link-dest # --link-dest=$(outdir)/old-web-root/$$d