Commit 0c4fd16c authored by Sam Hocevar's avatar Sam Hocevar
Browse files

* doc/Makefile.am: fixed build in a separate directory.

    of Bernard Leak with a few additions.
parent 3d721bb2
EXTRA_DIST = doxygen.cfg footer.html header.html
EXTRA_DIST = doxygen.cfg.in footer.html header.html
DISTCLEANFILES = doxygen.cfg
all: stamp-doxygen stamp-latex
stamp-doxygen:
doxygen.cfg: $(srcdir)/doxygen.cfg.in
-rm -f $@
sed 's|@SRCDIR@|$(srcdir)|g; s|@TOP_SRCDIR@|$(top_srcdir)|g' $< > $@
stamp-doxygen: doxygen.cfg
if DOXYGEN
doxygen doxygen.cfg
touch stamp-doxygen
......@@ -18,6 +23,6 @@ endif
clean: clean-local
clean-local:
-rm -Rf html latex
-rm -f stamp-latex stamp-doxygen
-rm -Rf html latex
......@@ -361,8 +361,8 @@ WARN_LOGFILE =
# directories like "/usr/src/myproject". Separate the files or directories
# with spaces.
INPUT = ../src/dvdcss/dvdcss.h \
../src/libdvdcss.c
INPUT = @TOP_SRCDIR@/src/dvdcss/dvdcss.h \
@TOP_SRCDIR@/src/libdvdcss.c
# 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
......@@ -524,13 +524,13 @@ HTML_FILE_EXTENSION = .html
# each generated HTML page. If it is left blank doxygen will generate a
# standard header.
HTML_HEADER = header.html
HTML_HEADER = @SRCDIR@/header.html
# 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 = footer.html
HTML_FOOTER = @SRCDIR@/footer.html
# 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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment