fixup! replace the build system with meson
This commit is contained in:
@@ -144,12 +144,12 @@ be viewed at [https://bind9.readthedocs.io/en/latest/index.html](https://bind9.r
|
||||
|
||||
The PDF version can be built by running:
|
||||
|
||||
cd doc/arm/
|
||||
sphinx-build -b latex . pdf/
|
||||
make -C pdf/ all-pdf
|
||||
meson configure build
|
||||
ninja -C build arm-pdf
|
||||
make -C build/arm-pdf/ all-pdf
|
||||
|
||||
The above requires TeX Live in order to work. The PDF will be written to
|
||||
`doc/arm/pdf/Bv9ARM.pdf`.
|
||||
`build/arm-pdf/Bv9ARM.pdf`.
|
||||
|
||||
Man pages for some of the programs in the BIND 9 distribution
|
||||
are also included in the BIND ARM.
|
||||
|
||||
+22
@@ -1784,6 +1784,28 @@ if doc_opt.allowed()
|
||||
],
|
||||
)
|
||||
|
||||
custom_target(
|
||||
'arm-pdf',
|
||||
build_by_default: false,
|
||||
depend_files: arm_srcconf.sources(),
|
||||
depends: doc_misc_targets,
|
||||
output: 'arm-pdf',
|
||||
env: {
|
||||
'BIND_PROJECT_VERSION': meson.project_version(),
|
||||
'MESON_BUILD_ROOT': meson.project_build_root(),
|
||||
'MESON_SOURCE_ROOT': meson.project_source_root(),
|
||||
},
|
||||
command: [
|
||||
sphinx_build,
|
||||
sphinx_common_options,
|
||||
'-b', 'latex',
|
||||
'-d', '@PRIVATE_DIR@',
|
||||
'-c', '@CURRENT_SOURCE_DIR@' / 'doc' / 'arm',
|
||||
'@CURRENT_SOURCE_DIR@' / 'doc' / 'arm',
|
||||
'@OUTPUT@',
|
||||
],
|
||||
)
|
||||
|
||||
custom_target(
|
||||
'arm-epub',
|
||||
build_by_default: false,
|
||||
|
||||
Reference in New Issue
Block a user