aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/reference.doxygen.in58
-rw-r--r--wscript50
2 files changed, 50 insertions, 58 deletions
diff --git a/doc/reference.doxygen.in b/doc/reference.doxygen.in
index ae1c2e3..bbd32d7 100644
--- a/doc/reference.doxygen.in
+++ b/doc/reference.doxygen.in
@@ -672,7 +672,7 @@ FILE_VERSION_FILTER =
# DoxygenLayout.xml, doxygen will parse it automatically even if the LAYOUT_FILE
# tag is left empty.
-LAYOUT_FILE = DoxygenLayout.xml
+LAYOUT_FILE = @LV2_SRCDIR@/doc/DoxygenLayout.xml
# The CITE_BIB_FILES tag can be used to specify one or more bib files containing
# the reference definitions. This must be a list of .bib files. The .bib
@@ -755,34 +755,34 @@ WARN_LOGFILE =
# Note: If this tag is empty the current directory is searched.
INPUT = @LV2_SRCDIR@/doc/mainpage.dox \
- lv2/lv2plug.in/ns/ext/atom/atom.h \
- lv2/lv2plug.in/ns/ext/atom/forge.h \
- lv2/lv2plug.in/ns/ext/atom/util.h \
- lv2/lv2plug.in/ns/ext/buf-size/buf-size.h \
- lv2/lv2plug.in/ns/ext/data-access/data-access.h \
- lv2/lv2plug.in/ns/ext/dynmanifest/dynmanifest.h \
- lv2/lv2plug.in/ns/ext/event/event-helpers.h \
- lv2/lv2plug.in/ns/ext/event/event.h \
- lv2/lv2plug.in/ns/ext/instance-access/instance-access.h \
- lv2/lv2plug.in/ns/ext/log/log.h \
- lv2/lv2plug.in/ns/ext/log/logger.h \
- lv2/lv2plug.in/ns/ext/midi/midi.h \
- lv2/lv2plug.in/ns/ext/morph/morph.h \
- lv2/lv2plug.in/ns/ext/options/options.h \
- lv2/lv2plug.in/ns/ext/parameters/parameters.h \
- lv2/lv2plug.in/ns/ext/patch/patch.h \
- lv2/lv2plug.in/ns/ext/port-groups/port-groups.h \
- lv2/lv2plug.in/ns/ext/port-props/port-props.h \
- lv2/lv2plug.in/ns/ext/presets/presets.h \
- lv2/lv2plug.in/ns/ext/resize-port/resize-port.h \
- lv2/lv2plug.in/ns/ext/state/state.h \
- lv2/lv2plug.in/ns/ext/time/time.h \
- lv2/lv2plug.in/ns/ext/uri-map/uri-map.h \
- lv2/lv2plug.in/ns/ext/urid/urid.h \
- lv2/lv2plug.in/ns/ext/worker/worker.h \
- lv2/lv2plug.in/ns/extensions/ui/ui.h \
- lv2/lv2plug.in/ns/extensions/units/units.h \
- lv2/lv2plug.in/ns/lv2core/lv2.h
+ @LV2_SRCDIR@/lv2/lv2plug.in/ns/ext/atom/atom.h \
+ @LV2_SRCDIR@/lv2/lv2plug.in/ns/ext/atom/forge.h \
+ @LV2_SRCDIR@/lv2/lv2plug.in/ns/ext/atom/util.h \
+ @LV2_SRCDIR@/lv2/lv2plug.in/ns/ext/buf-size/buf-size.h \
+ @LV2_SRCDIR@/lv2/lv2plug.in/ns/ext/data-access/data-access.h \
+ @LV2_SRCDIR@/lv2/lv2plug.in/ns/ext/dynmanifest/dynmanifest.h \
+ @LV2_SRCDIR@/lv2/lv2plug.in/ns/ext/event/event-helpers.h \
+ @LV2_SRCDIR@/lv2/lv2plug.in/ns/ext/event/event.h \
+ @LV2_SRCDIR@/lv2/lv2plug.in/ns/ext/instance-access/instance-access.h \
+ @LV2_SRCDIR@/lv2/lv2plug.in/ns/ext/log/log.h \
+ @LV2_SRCDIR@/lv2/lv2plug.in/ns/ext/log/logger.h \
+ @LV2_SRCDIR@/lv2/lv2plug.in/ns/ext/midi/midi.h \
+ @LV2_SRCDIR@/lv2/lv2plug.in/ns/ext/morph/morph.h \
+ @LV2_SRCDIR@/lv2/lv2plug.in/ns/ext/options/options.h \
+ @LV2_SRCDIR@/lv2/lv2plug.in/ns/ext/parameters/parameters.h \
+ @LV2_SRCDIR@/lv2/lv2plug.in/ns/ext/patch/patch.h \
+ @LV2_SRCDIR@/lv2/lv2plug.in/ns/ext/port-groups/port-groups.h \
+ @LV2_SRCDIR@/lv2/lv2plug.in/ns/ext/port-props/port-props.h \
+ @LV2_SRCDIR@/lv2/lv2plug.in/ns/ext/presets/presets.h \
+ @LV2_SRCDIR@/lv2/lv2plug.in/ns/ext/resize-port/resize-port.h \
+ @LV2_SRCDIR@/lv2/lv2plug.in/ns/ext/state/state.h \
+ @LV2_SRCDIR@/lv2/lv2plug.in/ns/ext/time/time.h \
+ @LV2_SRCDIR@/lv2/lv2plug.in/ns/ext/uri-map/uri-map.h \
+ @LV2_SRCDIR@/lv2/lv2plug.in/ns/ext/urid/urid.h \
+ @LV2_SRCDIR@/lv2/lv2plug.in/ns/ext/worker/worker.h \
+ @LV2_SRCDIR@/lv2/lv2plug.in/ns/extensions/ui/ui.h \
+ @LV2_SRCDIR@/lv2/lv2plug.in/ns/extensions/units/units.h \
+ @LV2_SRCDIR@/lv2/lv2plug.in/ns/lv2core/lv2.h
# This tag can be used to specify the character encoding of the source files
# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses
diff --git a/wscript b/wscript
index e7fc342..e3fa60a 100644
--- a/wscript
+++ b/wscript
@@ -167,7 +167,7 @@ def specgen(task):
SPECGENDIR = 'lv2specgen'
STYLEPATH = 'build/aux/style.css'
- TAGFILE = 'build/tags'
+ TAGFILE = 'build/doc/tags'
specdoc = lv2specgen.specgen(
spec.abspath(),
@@ -407,33 +407,6 @@ def build(bld):
bld.install_files('${BINDIR}', 'lv2specgen/lv2specgen.py', chmod=Utils.O755)
if bld.env.DOCS or bld.env.ONLINE_DOCS:
- # Copy Doxygen layout file to build directory
- bld(features = 'subst',
- is_copy = True,
- install_path = None,
- name = 'copy',
- source = 'doc/DoxygenLayout.xml',
- target = 'DoxygenLayout.xml')
-
- # Build Doxygen documentation (and tags file)
- autowaf.build_dox(bld, 'LV2', VERSION, top, out, 'lv2plug.in/doc', False)
-
- # Copy stylesheets to build directory
- for i in ['style.css', 'pygments.css']:
- bld(features = 'subst',
- is_copy = True,
- name = 'copy',
- source = 'doc/%s' % i,
- target = 'aux/%s' % i)
-
- bld(features = 'subst',
- is_copy = True,
- name = 'copy',
- source = 'doc/doxy-style.css',
- target = 'doc/html/doxy-style.css')
-
- index_files = []
-
# Prepare spec output directories
specs = exts + [bld.path.find_node('lv2/lv2plug.in/ns/lv2core')]
for i in specs:
@@ -457,6 +430,26 @@ def build(bld):
NAME = name,
BASE = base)
+
+ # Copy stylesheets to build directory
+ for i in ['style.css', 'pygments.css']:
+ bld(features = 'subst',
+ is_copy = True,
+ name = 'copy',
+ source = 'doc/%s' % i,
+ target = 'aux/%s' % i)
+
+ bld(features = 'subst',
+ is_copy = True,
+ name = 'copy',
+ source = 'doc/doxy-style.css',
+ target = 'doc/html/doxy-style.css')
+
+ # Build Doxygen documentation (and tags file)
+ autowaf.build_dox(bld, 'LV2', VERSION, top, out, 'lv2plug.in/doc', False)
+
+ index_files = []
+
# Call lv2specgen for each spec
for i in specs:
name = os.path.basename(i.srcpath())
@@ -479,7 +472,6 @@ def build(bld):
bld.path.get_bld().ant_glob(base + '/*.html'))
index_files.sort()
- bld.add_group() # Barrier (wait for lv2specgen to build index)
# Build extension index
bld(rule = build_index,