any rebuild – command to build packages with changed sources or build files.

Synopsis

any rebuild DATA [options]
any rebuild DATA PACKAGES [options]
any rebuild [options]

PROGSU=/usr/bin/sudo PROGCHROOT="sudo chroot" anch rebuild [any arguments above]
any rebuild --help|--version

Description

any rebuild builds absent and outdated packages, found among PACKAGES.

Package is outdated, if its inner version is higher, then inner version from binary pack. Package is absent, if there are no declared binary packs for it in PACKDIR.

Inner version of the package is stored in the following places:

Variable INNER_VERSION in the build file.
File MINTNEUTRALDIR/inner_version.
            ./ports/meta/all/<package-name>/inner_version

File DISTDIR/inner_version.
            ./ports/packages/<package-name>/inner_version

File T/inner_version.
            ./build/tmp/<profname>/<package-name>/inner_version

Inner version of the package can be calculated, if the project implements fetch_dev_inner_version method.

Module buildfresh is used by the command.

Options

any_rebuild_fetch=1
If set to non-zero, inner version of package is recalculated with the call of fetch_dev_inner_version method.
Unset by default.

See also

any-do(1), any(1)