On Thu, Oct 20, 2011 at 7:56 AM, Bjoern Michaelsen <[email protected]> wrote: > On Thu, Oct 20, 2011 at 02:25:33PM +0200, Jan Holesovsky wrote: >> So I think we could do it even without patching gnumake ;-) I'd just >> increment a global variable in in every gb_LinkTarget_add_* >> (solenv/gbuild/LinkTarget.mk) - that way we'd get the sum of how many >> 'things' to do; and then the progress would be tracked in >> gb_Output_announce (solenv/gbuild/Output.mk), by incrementing another >> variable. >> >> Most probably it wouldn't be 100% precise, but good enough for zenity? > > That would work well for full builds, but not for incremental ones.
maybe doing a similar things but based on $W/Module/<foo> count the modules to be built (makafile loaded) and count the 'touch' to $W/Module/* that should give the same granularity level that the old-dmake based with zenity Norbert _______________________________________________ LibreOffice mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice
