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

[email protected] (Diego Biurrun)
Newsgroups gmane.comp.video.videolan.libdvdcss,gmane.comp.video.videolan.libdvdcss.devel
Message-ID <[email protected]>
libdvdcss | branch: master | Diego Biurrun <[email protected]> | Mon Oct 20 11:59:04 2014 +0200| [efcd0012ddb29c342e4b726eab0ce181bb9dccef] | committer: Diego Biurrun

build: Run doxygen from the top build directory

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

 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

_______________________________________________
libdvdcss-devel mailing list
[email protected]
https://mailman.videolan.org/listinfo/libdvdcss-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.