dmx: Construct paths in doxygen.conf to fix VPATH builds

The paths in doxygen.conf assumed that srcdir=builddir and broke
otherwise. Use autoconf to fill in the paths to the srcdir so that the
files can be found when users have a separate build directory (as with
distcheck).

Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
Tested-by: Cyril Brulebois <kibi@debian.org>
Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
Tested-by: Sedat Dilek <sedat.dilek@gmail.com>
This commit is contained in:
Dan Nicholson 2011-02-20 09:51:15 -08:00
parent 61ce915bf7
commit 6b951dec69
4 changed files with 12 additions and 10 deletions

View File

@ -2248,6 +2248,7 @@ hw/xfree86/utils/gtf/Makefile
hw/dmx/config/Makefile
hw/dmx/config/man/Makefile
hw/dmx/doc/Makefile
hw/dmx/doc/doxygen.conf
hw/dmx/examples/Makefile
hw/dmx/input/Makefile
hw/dmx/glxProxy/Makefile

View File

@ -8,3 +8,4 @@ scaled.html
scaled.pdf
scaled.ps
scaled.txt
doxygen.conf

View File

@ -34,7 +34,7 @@ all-local: html/annotated.html
dist-local: html/annotated.html
html/annotated.html: $(DOXYGEN_SRC)
$(DOXYGEN) $(srcdir)/doxygen.conf
$(DOXYGEN) doxygen.conf
maintainer-clean-local:
rm -rf html/

View File

@ -344,9 +344,9 @@ WARN_LOGFILE =
# directories like "/usr/src/myproject". Separate the files or directories
# with spaces.
INPUT = .. \
../input \
../config
INPUT = @srcdir@/.. \
@srcdir@/../input \
@srcdir@/../config
# 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
@ -367,9 +367,9 @@ RECURSIVE = NO
# excluded from the INPUT source files. This way you can easily exclude a
# subdirectory from a directory tree whose root is specified with the INPUT tag.
EXCLUDE = ../config/parser.c \
../config/parser.h \
../config/scanner.c
EXCLUDE = @srcdir@/../config/parser.c \
@srcdir@/../config/parser.h \
@srcdir@/../config/scanner.c
# The EXCLUDE_SYMLINKS tag can be used select whether or not files or directories
# that are symbolic links (a Unix filesystem feature) are excluded from the input.
@ -510,20 +510,20 @@ HTML_FILE_EXTENSION = .html
# each generated HTML page. If it is left blank doxygen will generate a
# standard header.
HTML_HEADER = doxygen.head
HTML_HEADER = @srcdir@/doxygen.head
# The HTML_FOOTER tag can be used to specify a personal HTML footer for
# each generated HTML page. If it is left blank doxygen will generate a
# standard footer.
HTML_FOOTER = doxygen.foot
HTML_FOOTER = @srcdir@/doxygen.foot
# The HTML_STYLESHEET tag can be used to specify a user-defined cascading
# style sheet that is used by each HTML page. It can be used to
# fine-tune the look of the HTML output. If the tag is left blank doxygen
# will generate a default style sheet
HTML_STYLESHEET = doxygen.css
HTML_STYLESHEET = @srcdir@/doxygen.css
# If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes,
# files or namespaces will be aligned in HTML using tables. If set to