Commit 12f4225d authored by Max Kellermann's avatar Max Kellermann

Makefile.am: fix out-of-tree doxygen call

This hack creates a copy of doc/doxygen.conf with the INPUT setting replaced.
parent 50862a1d
......@@ -1102,7 +1102,8 @@ endif
doc/api/html/index.html: doc/doxygen.conf
@mkdir -p $(@D)
$(DOXYGEN) $<
[ "$(srcdir)" = "." ] || sed '/INPUT *=/ s/\([^ ]\+\/\)/$(subst /,\/,$(srcdir))\/\1/g' $(srcdir)/doc/doxygen.conf >doc/doxygen.conf
$(DOXYGEN) doc/doxygen.conf
all-local: $(DOCBOOK_HTML) doc/api/html/index.html
......
......@@ -534,7 +534,7 @@ WARN_LOGFILE =
# directories like "/usr/src/myproject". Separate the files or directories
# with spaces.
INPUT = src
INPUT = src/
# This tag can be used to specify the character encoding of the source files
# that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is
......
Markdown is supported
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