[PATCH] doc: add install_tag to meson

Bruce Richardson bruce.richardson at intel.com
Mon Jan 6 11:29:05 CET 2025


On Mon, Dec 23, 2024 at 01:21:13PM +0000, luca.boccassi at gmail.com wrote:
> From: "bluca at debian.org" <bluca at debian.org>
> 
> This allows building and installing only the documentation, without
> recompiling the whole project, using:
> 
> meson build -Denable_docs=true
> meson compile -C build doc
> meson install -C build --no-rebuild --tags doc
> 
> In Debian/Ubuntu the documentation is built separately from the binaries,
> in a separate architecture-independent build job, so that it has to be
> done only once, instead of once per supported architecture.
> 
> Signed-off-by: Luca Boccassi <bluca at debian.org>
> ---
> This requires meson 0.60, so there's a warning printed as the minimum
> defined is 0.57, but it's harmless, and the feature is only used when
> explicitly invoked with --tags, which simply has to be done with newer
> meson versions. If install --tags is not used, then there's no issue.
> 
>  doc/api/meson.build    | 3 +++
>  doc/guides/meson.build | 1 +
>  2 files changed, 4 insertions(+)
> 
Acked-by: Bruce Richardson <bruce.richardson at intel.com>


More information about the dev mailing list