+2006-06-04 Han-Wen Nienhuys <hanwen@lilypond.org>
+
+ * GNUmakefile.in: reinstate old web tar/copying.
+
2006-06-03 Han-Wen Nienhuys <hanwen@lilypond.org>
* lily/lyric-combine-music-iterator.cc (find_voice): return 0 if
cd $(top-build-dir) && $(FIND) . -name '*.html' -print | $(footifymail) xargs $(footify)
+ cd $(top-build-dir) && find Documentation input \
+ $(web-ext:%=-path '*/out-www/*.%' -or) -type l \
+ > $(outdir)/weblist
+ ls $(outdir)/*.html >> $(outdir)/weblist
+
+## urg: this is too hairy, should write a python script to do this.
+
## rewrite file names so we lose out-www
rm -rf $(outdir)/web-root/
- for d in out-www `cd $(top-build-dir) && find Documentation input -name 'out-www' `; do \
- echo $$d ; \
- (mkdir -p $(outdir)/web-root/$$d/ || true) ; \
- rsync -Wa --include source --include music-glossary \
- --include lilypond-internals \
- --include lilypond \
- $(foreach pat,$(web-ext), --include '*'.$(pat)) $(top-build-dir)/$$d/ $(outdir)/web-root/$$d/../ ; \
+ mkdir $(outdir)/web-root/
+## urg slow.
+ cat $(outdir)/weblist | (cd $(top-build-dir); tar -cf- -T- ) | \
+ tar -C $(outdir)/web-root/ -xf -
+ for dir in $(outdir)/web-root/ ; do \
+ cd $$dir && \
+ for a in `find . -name out-www`; do \
+ rsync -a --link-dest $$a/ $$a/ $$a/.. ; \
+ rm -rf $$a ; \
+ done \
done
- echo $(TOPLEVEL_VERSION)> $(outdir)/web-root/VERSION
+ echo $(TOPLEVEL_VERSION) > $(outdir)/web-root/VERSION
tree-prefix = $(outdir)
tree-bin = $(tree-prefix)/bin