]> git.donarmstrong.com Git - lilypond.git/commitdiff
simplify local-WWW-post.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Wed, 31 May 2006 15:49:22 +0000 (15:49 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Wed, 31 May 2006 15:49:22 +0000 (15:49 +0000)
remove -type l from find.

ChangeLog
GNUmakefile.in

index 6f5727dbaf5bd70153a0322a13a9738483b4b6ff..63e06f51f0a8f2f25ed857ce5a9caa47a04d9a7f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2006-05-31  Han-Wen Nienhuys  <hanwen@lilypond.org>
 
        * GNUmakefile.in: simplify local-WWW-post. 
+       remove -type l from find.
 
        * buildscripts/output-distance.py (ComparisonData.compare_trees):
        fixes. Don't follow symlinks.
index 2617397199e5215c59e0c9f060c80f5d778eedb6..78ae0eeb5a9442c969c8d1002ab81aedd64b9d6e 100644 (file)
@@ -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