Fix Doxygen out-of-build-tree issues

This commit is contained in:
Bradlee Speice 2012-07-18 13:29:52 -04:00
parent e5cff6e762
commit c84ab79aa2
2 changed files with 3 additions and 3 deletions

View File

@ -32,12 +32,12 @@ AC_PATH_X
PKG_CHECK_MODULES([OpenCV], [opencv >= 2.0.0], [use_opencv2=true], [use_opencv1=true])
AM_CONDITIONAL(USEOPENCV2, [test "$use_opencv2" != ""])
#Let doxygen know where our headers are at
AC_SUBST(INPUT_PATH, "../include/opencv2 ../examples")
AC_SUBST(DOXYGEN_CV_VERSION, "opencv2")
if test "$use_opencv1" != ""; then
echo "could not find OpenCV version 2.0.0 or higher, checking for 1.0.0 or higher..."
PKG_CHECK_MODULES([OpenCV], [opencv >= 1.0.0])
#Update doxygen on where our headers are at
AC_SUBST(INPUT_PATH, "../include/opencv1 ../examples")
AC_SUBST(DOXYGEN_CV_VERSION, "opencv1")
fi
PKG_CHECK_MODULES([X11], [x11 >= 1.0.3])

View File

@ -459,7 +459,7 @@ WARN_LOGFILE =
# directories like "/usr/src/myproject". Separate the files or directories
# with spaces.
INPUT = @INPUT_PATH@
INPUT = @top_srcdir@/include/@DOXYGEN_CV_VERSION@ @top_srcdir@/examples
# If the value of the INPUT tag contains directories, you can use the
# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp