Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/doc/Doxyfile.in
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2020-12-28 21:36:35 -0500
committerAllan McRae <allan@archlinux.org>2020-12-29 13:15:40 +1000
commita023565ed370851fd5bf61298460fe0adb0b4189 (patch)
treec30bf9ac192e5e6a3d231fdae15652572c1b99b7 /doc/Doxyfile.in
parentccdd1e3fd92591755e2b94bf63416c7b30cd217a (diff)
doc: make doxygen build from any directory
In the autotools build, it only built in-tree, from cwd = doc/ and resolving doc/../lib/libalpm In the meson build, this accidentally worked if cwd = pacman/builddir/ and resolved to builddir/../lib/libalpm/ But... this should always have been configured with the actual path to the inputs. So, we will now proceed to do so. Fixes building man3 if your out of tree builddir doesn't happen to be a direct subdirectory of the source root. Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'doc/Doxyfile.in')
-rw-r--r--doc/Doxyfile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/Doxyfile.in b/doc/Doxyfile.in
index 776318da..6744e765 100644
--- a/doc/Doxyfile.in
+++ b/doc/Doxyfile.in
@@ -117,8 +117,8 @@ WARN_LOGFILE =
#---------------------------------------------------------------------------
# Configuration options related to the input files
#---------------------------------------------------------------------------
-INPUT = ../lib/libalpm/alpm.h \
- ../lib/libalpm/alpm_list.h
+INPUT = @INPUT_DIRECTORY@/../lib/libalpm/alpm.h \
+ @INPUT_DIRECTORY@/../lib/libalpm/alpm_list.h
INPUT_ENCODING = UTF-8
FILE_PATTERNS =
RECURSIVE = NO