doc: add options to change what /usr and /etc paths are shown

Add options to change the 'prefix' and 'sysconfdir' values shown in
documentation, e.g. on config file man pages.

Update CI to set them, so that its produced output doesn't show
/builds/pipewire/... on man pages
This commit is contained in:
Pauli Virtanen 2024-03-10 22:25:42 +02:00
parent e2a546006a
commit da1a5568a1
3 changed files with 32 additions and 3 deletions

View file

@ -350,3 +350,11 @@ option('snap',
description : 'Enable Snap permissions support.',
type : 'feature',
value : 'auto')
option('doc-prefix-value',
description : 'Installation prefix to show in documentation instead of the actual value.',
type : 'string',
value : '')
option('doc-sysconfdir-value',
description : 'Sysconf data directory to show in documentation instead of the actual value.',
type : 'string',
value : '')