ref: efcd0012ddb29c342e4b726eab0ce181bb9dccef
parent: 1f3533559ceaa34d1d36f8ea16222f88e1271d4a
author: Diego Biurrun <[email protected]>
date: Mon Oct 20 07:59:04 EDT 2014
build: Run doxygen from the top build directory
--- a/Makefile.am
+++ b/Makefile.am
@@ -58,7 +58,7 @@
apidoc: stamp-doxygen
stamp-doxygen: doc/doxygen.cfg src/libdvdcss.c src/dvdcss/dvdcss.h
- cd doc && doxygen doxygen.cfg
+ doxygen $<
touch $@
tools: test/csstest test/dvd_region
--- a/doc/doxygen.cfg.in
+++ b/doc/doxygen.cfg.in
@@ -58,7 +58,7 @@
# entered, it will be relative to the location where doxygen was started. If
# left blank the current directory will be used.
-OUTPUT_DIRECTORY = @top_builddir@/doc
+OUTPUT_DIRECTORY = @abs_builddir@
# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create 4096 sub-
# directories (in 2 levels) under the output directory of each output format and
@@ -743,8 +743,8 @@
# spaces.
# Note: If this tag is empty the current directory is searched.
-INPUT = @top_srcdir@/src/dvdcss/dvdcss.h \
- @top_srcdir@/src/libdvdcss.c
+INPUT = @abs_top_srcdir@/src/dvdcss/dvdcss.h \
+ @abs_top_srcdir@/src/libdvdcss.c
# This tag can be used to specify the character encoding of the source files
# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses