mirror of
https://github.com/zebrajr/postgres.git
synced 2026-01-15 12:15:21 +00:00
meson: add docs, docs_pdf options
Detect and report if the tools necessary to build documentation are available during configure. This is represented as two new options 'docs' and 'docs_pdf', both defaulting to 'auto'. This should also fix a meson error about the installdocs target, when none of the doc tools are found. Reviewed-by: Justin Pryzby <pryzby@telsasoft.com> Discussion: https://postgr.es/m/20230325201414.sh7c6xlut2fpunnv@awork3.anarazel.de Discussion: https://postgr.es/m/ZB8331v5IhUA/pNu@telsasoft.com
This commit is contained in:
@@ -79,6 +79,12 @@ option('bonjour', type : 'feature', value: 'auto',
|
||||
option('bsd_auth', type : 'feature', value: 'auto',
|
||||
description: 'build with BSD Authentication support')
|
||||
|
||||
option('docs', type : 'feature', value: 'auto',
|
||||
description: 'documentation in HTML and man page format')
|
||||
|
||||
option('docs_pdf', type : 'feature', value: 'auto',
|
||||
description: 'documentation in PDF format')
|
||||
|
||||
option('dtrace', type : 'feature', value: 'disabled',
|
||||
description: 'DTrace support')
|
||||
|
||||
@@ -159,6 +165,9 @@ option('DTRACE', type : 'string', value: 'dtrace',
|
||||
option('FLEX', type : 'array', value: ['flex', 'win_flex'],
|
||||
description: 'path to flex binary')
|
||||
|
||||
option('FOP', type : 'string', value: 'fop',
|
||||
description: 'path to fop binary')
|
||||
|
||||
option('GZIP', type : 'string', value: 'gzip',
|
||||
description: 'path to gzip binary')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user