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.
## 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