[libdvdcss-devel] build: Run doxygen from the top build directory

Diego Biurrun git at videolan.org
Mon Oct 20 19:10:22 CEST 2014


libdvdcss | branch: master | Diego Biurrun <diego at biurrun.de> | Mon Oct 20 11:59:04 2014 +0200| [81c94e1d1e686b22ac037fbc87299495c34b765c] | committer: Jean-Baptiste Kempf

build: Run doxygen from the top build directory

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/libdvdcss.git/?a=commit;h=81c94e1d1e686b22ac037fbc87299495c34b765c
---

 Makefile.am        |    2 +-
 doc/doxygen.cfg.in |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index f50948a..726ea7f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -58,7 +58,7 @@ endif
 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
diff --git a/doc/doxygen.cfg.in b/doc/doxygen.cfg.in
index dc55d7e..6c12eed 100644
--- a/doc/doxygen.cfg.in
+++ b/doc/doxygen.cfg.in
@@ -58,7 +58,7 @@ PROJECT_LOGO           =
 # 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 @@ WARN_LOGFILE           =
 # 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



More information about the libdvdcss-devel mailing list