From c33d4f29bc4f9a6667fa437d8630e462cc05c899 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Tue, 8 Dec 2009 17:06:04 +0100 Subject: [PATCH] Generating the apidoc in an out-of-tree build fixed. --- Doxyfile.in | 10 +++++----- Makefile.am | 1 + 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Doxyfile.in b/Doxyfile.in index 8dbd1277a..8cb6e50a5 100644 --- a/Doxyfile.in +++ b/Doxyfile.in @@ -527,11 +527,11 @@ WARN_LOGFILE = # directories like "/usr/src/myproject". Separate the files or directories # with spaces. -INPUT = src/libstrongswan \ - src/charon \ - src/libsimaka \ - src/libfast \ - src/manager +INPUT = @SRC_DIR@/src/libstrongswan \ + @SRC_DIR@/src/charon \ + @SRC_DIR@/src/libsimaka \ + @SRC_DIR@/src/libfast \ + @SRC_DIR@/src/manager # 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 diff --git a/Makefile.am b/Makefile.am index c2467a768..fcb2f2e7a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -13,6 +13,7 @@ Doxyfile : Doxyfile.in sed \ -e "s:\@PACKAGE_VERSION\@:$(PACKAGE_VERSION):" \ -e "s:\@PACKAGE_NAME\@:$(PACKAGE_NAME):" \ + -e "s:\@SRC_DIR\@:$(srcdir):" \ $(srcdir)/$@.in > $@ apidoc : Doxyfile