mirror of https://github.com/nirenjan/libx52.git
Add build for doxygen documentation
parent
caafb2d93f
commit
27467ac7b4
|
@ -285,7 +285,6 @@ int libx52_init(libx52_device ** dev);
|
|||
* cause errors.
|
||||
*
|
||||
* @param[in] dev Pointer to the device context
|
||||
* @returns None
|
||||
*/
|
||||
void libx52_exit(libx52_device *dev);
|
||||
|
||||
|
|
|
@ -303,7 +303,6 @@ int libx52io_init(libx52io_context **ctx);
|
|||
* cause errors.
|
||||
*
|
||||
* @param[in] ctx Pointer to the device context
|
||||
* @returns None
|
||||
*/
|
||||
void libx52io_exit(libx52io_context *ctx);
|
||||
|
||||
|
|
22
meson.build
22
meson.build
|
@ -366,3 +366,25 @@ if dep_udev.found()
|
|||
install_data(udev_file, install_dir: udev_rules_dir)
|
||||
meson.add_install_script('udev/install-hook.sh')
|
||||
endif
|
||||
|
||||
#######################################################################
|
||||
# Documentation - doxygen
|
||||
#######################################################################
|
||||
if doxygen_program.found()
|
||||
doxyfile = configure_file(
|
||||
input: 'Doxyfile.in',
|
||||
output: 'Doxyfile',
|
||||
configuration: {
|
||||
'PACKAGE_NAME': meson.project_name(),
|
||||
'PACKAGE_VERSION': meson.project_version(),
|
||||
'abs_top_builddir': meson.build_root(),
|
||||
'abs_top_srcdir': meson.source_root(),
|
||||
}
|
||||
)
|
||||
|
||||
docs_tgt = custom_target('docs',
|
||||
depend_files: [doxyfile, 'DoxygenLayout.xml'],
|
||||
command: [doxygen_program],
|
||||
output: 'docs'
|
||||
)
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue