mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-29 11:06:18 +00:00
doc: Unify meson and cmake configured files.
This commit is contained in:
parent
a974562d43
commit
68b866f604
|
@ -1,4 +1,4 @@
|
|||
# Copyright 2018-2019, Collabora, Ltd.
|
||||
# Copyright 2018-2020, Collabora, Ltd.
|
||||
# SPDX-License-Identifier: BSL-1.0
|
||||
|
||||
# check if Doxygen is installed
|
||||
|
@ -20,9 +20,12 @@ if(BUILD_DOC)
|
|||
endif()
|
||||
|
||||
# set input and output files
|
||||
set(DOXYGEN_IN ${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.cmake_in)
|
||||
set(DOXYGEN_IN ${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in)
|
||||
set(DOXYGEN_OUT ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile)
|
||||
|
||||
set(CURBUILDDIR ${CMAKE_CURRENT_BINARY_DIR})
|
||||
set(SRCDIR ${PROJECT_SOURCE_DIR})
|
||||
set(BUILDDIR ${PROJECT_BINARY_DIR})
|
||||
# request to configure the file
|
||||
configure_file(${DOXYGEN_IN} ${DOXYGEN_OUT} @ONLY)
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -22,7 +22,7 @@ else
|
|||
doxyconf.set('DOXYGEN_EXTRACT_ALL', 'NO')
|
||||
endif
|
||||
|
||||
doxyfile = configure_file(input: 'Doxyfile.meson_in',
|
||||
doxyfile = configure_file(input: 'Doxyfile.in',
|
||||
output: 'Doxyfile', configuration: doxyconf, install: false)
|
||||
|
||||
html = custom_target('docs',
|
||||
|
|
Loading…
Reference in a new issue