[Libreoffice] make experts: progress information?
Norbert Thiebaud
nthiebaud at gmail.com
Thu Oct 20 06:08:53 PDT 2011
On Thu, Oct 20, 2011 at 7:56 AM, Bjoern Michaelsen
<bjoern.michaelsen at canonical.com> 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
More information about the LibreOffice
mailing list