summaryrefslogtreecommitdiff
path: root/doc/Makefile.am
diff options
context:
space:
mode:
authorJosh Triplett <josh@freedesktop.org>2006-11-23 00:08:30 -0800
committerJosh Triplett <josh@freedesktop.org>2006-11-23 00:11:09 -0800
commitaf3a15838fc7dc5b4e52197854deb54da6baeaf1 (patch)
treeab8620d614a601e6fdf1af27b5543ecd8c8f773f /doc/Makefile.am
parent608058ec80edb041ca012d530b42d97474f80320 (diff)
Rework doxygen build and install to work with srcdir != builddir
The documentation generation with doxygen now works when built out of tree, with srcdir != builddir. xcb.doxygen now gets generated from xcb.doxygen.in, so that it can use top_builddir and top_srcdir to find source and to output documentation. Also fill in PROJECT_NUMBER from @VERSION@, now that we have it readily available via autoconf.
Diffstat (limited to 'doc/Makefile.am')
-rw-r--r--doc/Makefile.am5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index f46f0b1..27f492c 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -1,7 +1,8 @@
EXTRA_DIST = \
tutorial/index.html \
-tutorial/xcb.css
+tutorial/xcb.css \
+xcb.doxygen.in
htmlDATA_INSTALL = cp -pR
@@ -20,7 +21,7 @@ if BUILD_DOCS
# rule to build documentation and copy necessary files
manual: clean-local
- cd .. && doxygen xcb.doxygen
+ doxygen xcb.doxygen
# rules to clean
clean-local: