summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
-rw-r--r--doc/reference.doxygen.in (renamed from doc/Doxyfile.in)6
-rw-r--r--wscript9
3 files changed, 13 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 5b01614d..70833309 100644
--- a/configure.ac
+++ b/configure.ac
@@ -313,7 +313,7 @@ AM_CONDITIONAL(BUILD_CLIENT_LIB, [test "$build_ingen_clients" = "yes" -o "$build
# Ingen
AC_CONFIG_FILES([Makefile])
-AC_CONFIG_FILES([doc/Doxyfile])
+AC_CONFIG_FILES([doc/reference.doxygen])
AC_CONFIG_FILES([patches/Makefile])
AC_CONFIG_FILES([src/Makefile])
AC_CONFIG_FILES([src/bindings/Makefile])
diff --git a/doc/Doxyfile.in b/doc/reference.doxygen.in
index b1f2829b..ff986bc0 100644
--- a/doc/Doxyfile.in
+++ b/doc/reference.doxygen.in
@@ -23,14 +23,14 @@ PROJECT_NAME = Ingen
# This could be handy for archiving the generated documentation or
# if some version control system is used.
-PROJECT_NUMBER = @PACKAGE_VERSION@
+PROJECT_NUMBER = @INGEN_VERSION@
# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
# base path where the generated documentation will be put.
# If a relative path is entered, it will be relative to the location
# where doxygen was started. If left blank the current directory will be used.
-OUTPUT_DIRECTORY = @top_srcdir@/doc
+OUTPUT_DIRECTORY = @INGEN_DOC_DIR@
# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create
# 4096 sub-directories (in 2 levels) under the output directory of each output
@@ -417,7 +417,7 @@ WARN_LOGFILE =
# directories like "/usr/src/myproject". Separate the files or directories
# with spaces.
-INPUT = @top_srcdir@
+INPUT = @INGEN_SRCDIR@
# If the value of the INPUT tag contains directories, you can use the
# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp
diff --git a/wscript b/wscript
index cb160236..a411a7cc 100644
--- a/wscript
+++ b/wscript
@@ -1,6 +1,7 @@
#!/usr/bin/env python
import os
import Params
+import autowaf
# Version of this package (even if built as a child)
INGEN_VERSION = '0.5.1'
@@ -56,11 +57,19 @@ def build(bld):
opts = Params.g_options
opts.datadir = opts.datadir or bld.env()['PREFIX'] + 'share'
opts.moduledir = opts.moduledir or bld.env()['PREFIX'] + 'lib/ingen'
+
+ # Modules
bld.add_subdirs('src/engine')
bld.add_subdirs('src/serialisation')
bld.add_subdirs('src/module')
bld.add_subdirs('src/shared')
bld.add_subdirs('src/client')
bld.add_subdirs('src/gui')
+
+ # Program
bld.add_subdirs('src/ingen')
+
+ # Documentation
+ autowaf.build_dox(bld, 'INGEN', INGEN_VERSION, srcdir, blddir)
+ install_files('PREFIX', 'share/doc/ingen', blddir + '/default/doc/html/*')