bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Issue 2028 in lilypond: Make doc always recreates HTML files


From: lilypond
Subject: Re: Issue 2028 in lilypond: Make doc always recreates HTML files
Date: Sun, 13 Nov 2011 17:06:34 +0000


Comment #1 on issue 2028 by address@hidden: 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?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]