From 5283e4eb669207b8e1802438179b3f0681f5b1cc Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys Date: Wed, 31 May 2006 15:46:48 +0000 Subject: [PATCH] simplify local-WWW-post. remove -type l from find. --- GNUmakefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5