summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-10-14 14:32:24 -0400
committerDavid Robillard <d@drobilla.net>2016-10-14 16:27:16 -0400
commitc16ad68648812a8c4eb90e8666764959b166ac13 (patch)
treef88ed10797020257096531f44dc91036795175b5 /wscript
parent13cc88d9068ba025acaa923b7a5d410880d9063a (diff)
downloadingen-c16ad68648812a8c4eb90e8666764959b166ac13.tar.gz
ingen-c16ad68648812a8c4eb90e8666764959b166ac13.tar.bz2
ingen-c16ad68648812a8c4eb90e8666764959b166ac13.zip
Improve documentation
Diffstat (limited to 'wscript')
-rw-r--r--wscript14
1 files changed, 8 insertions, 6 deletions
diff --git a/wscript b/wscript
index daf859e4..79f6a80c 100644
--- a/wscript
+++ b/wscript
@@ -241,9 +241,14 @@ def build(bld):
bld.install_files('${BINDIR}', 'scripts/ingenish', chmod=Utils.O755)
bld.install_files('${BINDIR}', 'scripts/ingenams', chmod=Utils.O755)
- # Documentation
+ # Code documentation
autowaf.build_dox(bld, 'INGEN', INGEN_VERSION, top, out)
+ # Ontology documentation
+ bld(rule='lv2specgen.py ${SRC} ${TGT} -i -p ingen --copy-style --list-email ingen@drobilla.net --list-page http://lists.drobilla.net/listinfo.cgi/ingen-drobilla.net',
+ source = 'bundles/ingen.lv2/ingen.ttl',
+ target = 'ingen.lv2/ingen.html')
+
# Man page
bld.install_files('${MANDIR}/man1', 'doc/ingen.1')
@@ -279,12 +284,9 @@ def upload_docs(ctx):
import shutil
# Ontology documentation
- specgendir = '/usr/local/share/lv2specgen/'
- shutil.copy(specgendir + 'style.css', 'build')
- os.system('lv2specgen.py --list-email=ingen@drobilla.net --list-page=http://lists.drobilla.net/listinfo.cgi/ingen-drobilla.net bundles/ingen.lv2/ingen.ttl %s style.css build/ingen.html' % specgendir)
os.system('rsync -avz -e ssh bundles/ingen.lv2/ingen.ttl drobilla@drobilla.net:~/drobilla.net/ns/')
- os.system('rsync -avz -e ssh build/ingen.html drobilla@drobilla.net:~/drobilla.net/ns/')
- os.system('rsync -avz -e ssh %s/style.css drobilla@drobilla.net:~/drobilla.net/ns/' % specgendir)
+ os.system('rsync -avz -e ssh build/ingen.lv2/ingen.html drobilla@drobilla.net:~/drobilla.net/ns/')
+ os.system('rsync -avz -e ssh build/ingen.lv2/style.css drobilla@drobilla.net:~/drobilla.net/ns/')
# Doxygen documentation
os.system('rsync -ravz --delete -e ssh build/doc/html/* drobilla@drobilla.net:~/drobilla.net/docs/ingen/')