aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2009-12-08 17:06:04 +0100
committerTobias Brunner <tobias@strongswan.org>2009-12-23 17:02:25 +0100
commitc33d4f29bc4f9a6667fa437d8630e462cc05c899 (patch)
tree3a18366a8670d563bcd9e148431d03121b03ea39
parent5fe538504e949ef056f9ecac93967cdf0b4b9874 (diff)
downloadstrongswan-c33d4f29bc4f9a6667fa437d8630e462cc05c899.tar.bz2
strongswan-c33d4f29bc4f9a6667fa437d8630e462cc05c899.tar.xz
Generating the apidoc in an out-of-tree build fixed.
-rw-r--r--Doxyfile.in10
-rw-r--r--Makefile.am1
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