mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-26 08:56:42 -05:00
build-sys: Configure doxygen.conf.in a bit differently
This change prepares for adding a doxygen target to the Meson build system. The DOXYGEN_OUTPUT_DIRECTORY substitution variable is needed so that the output will go to the build directory. I also replaced @srcdir@ with @top_srcdir@. I think it looks cleaner, since the ".." parent directory traversal is avoided. It also happened to make writing the Meson rules easier.
This commit is contained in:
parent
1781031c8b
commit
6fce5b2eac
2 changed files with 39 additions and 32 deletions
|
|
@ -1552,6 +1552,13 @@ fi
|
|||
|
||||
AM_CONDITIONAL([FORCE_PREOPEN], [test "x$FORCE_PREOPEN" = "xyes"])
|
||||
|
||||
# Substitute the variable with an empty string. This makes the output go to the
|
||||
# directory where doxygen is run (which is the doxygen directory under the
|
||||
# build directory). Substituting a variable with a constant value wouldn't
|
||||
# otherwise make sense, but the substitution variable needs to exist, because
|
||||
# we substitute a different value when using Meson.
|
||||
AC_SUBST([DOXYGEN_OUTPUT_DIRECTORY], [])
|
||||
|
||||
AC_CONFIG_FILES([
|
||||
Makefile
|
||||
src/Makefile
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue