mirror of
https://github.com/NixOS/nix.git
synced 2025-12-08 18:11:02 +01:00
Add `html-manual` Meson option to allow building manpages without the HTML manual, removing the mdbook dependency for manpage-only builds. Changes: - Add `html-manual` Meson option (default: true) - Make HTML manual build conditional in meson.build - Add `buildHtmlManual` parameter to package.nix - Conditional outputs: ["out" "man"] when enabled, ["out"] when disabled - Make mdbook/rsync/json-schema-for-humans dependencies conditional - Add `nix-manual-manpages-only` package variant This allows systems that only need manpages to avoid the mdbook build dependency while preserving full functionality for HTML manual builds.
13 lines
292 B
Text
13 lines
292 B
Text
option(
|
|
'official-release',
|
|
type : 'boolean',
|
|
value : true,
|
|
description : 'Whether this is an official release build (affects documentation URLs)',
|
|
)
|
|
|
|
option(
|
|
'html-manual',
|
|
type : 'boolean',
|
|
value : true,
|
|
description : 'Whether to build the HTML manual (requires mdbook)',
|
|
)
|