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

GNUmakefile.in

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