Comment #1 on issue 2028 by [email protected]: Make doc always
recreates HTML files
http://code.google.com/p/lilypond/issues/detail?id=2028
Done some more looking at this. It appears that the .html files aren't
being made, just copied. GNUmakefile.in has the following rule:
WWW-post:
[snip]
$(buildscript-dir)/www_post $(PACKAGE_NAME) $(TOPLEVEL_VERSION)
$(outdir) "$(WEB_TARGETS)"
- so the script www_post.py is run as follows:
/home/phil/lilypond-git/build/scripts/build/out/www_post LilyPond
2.15.19 ./out-www "offline"
This copies the html files from build/Documentation/out-www/web (where they
have their old timestamps) to build/out-www/offline-root/Documentation/web
- although the "copy" is done by www_post.py, which also fixes up some
references and adds footers - it therefore takes processing power to do
this - it's something like 15,000 files in total. On my mighty fast build
machine, running make doc with a fully up-to-date doc tree takes 22.3
seconds. Without the web_post.py it takes 8.3 seconds. I think we need a
rule that web_post gets run only if needed?
_______________________________________________
bug-lilypond mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-lilypond