Task generators created from other task generators may be
skipped during partial builds. This change re-enables
install_task as a task attribute and provides a task
object with input and output nodes which can be re-used
by other tasks.
This allow to user to get abstracted about the passed intltool-merge
flags, so this code:
bld(
features = 'intltool_in',
flags = ['-d', '-q', '-u'],
source = 'myapp.desktop.in',
)
Now is equivalent to:
bld(
features = 'intltool_in',
style = 'desktop',
source = 'myapp.desktop.in',
)
In some scenarios only some components of the glib2 tool are
necessary; for example, if intltool-merge is only used for
creating localized desktop files, it's not useful on Windows.
Rewrite the configuration function of the tools into several methods,
so that the 'funs' parameter can be used to only configure
specific programs from the tools.