From 12f4225d6ba6ecf2b989719a287f8ed1f7fb6bf5 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 25 Jul 2010 14:02:10 +0200 Subject: Makefile.am: fix out-of-tree doxygen call This hack creates a copy of doc/doxygen.conf with the INPUT setting replaced. --- Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 1a84cbbdf..ec38cf4ea 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 -- cgit v1.2.3