From: Han-Wen Nienhuys Date: Wed, 31 May 2006 15:49:22 +0000 (+0000) Subject: simplify local-WWW-post. X-Git-Tag: git/start~390 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=12bec0da99fcee3dcc7c2f8704e31725d7105a6e;p=lilypond.git simplify local-WWW-post. remove -type l from find. --- diff --git a/ChangeLog b/ChangeLog index 6f5727dbaf..63e06f51f0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ 2006-05-31 Han-Wen Nienhuys * GNUmakefile.in: simplify local-WWW-post. + remove -type l from find. * buildscripts/output-distance.py (ComparisonData.compare_trees): fixes. Don't follow symlinks. 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