summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-09-30 18:53:55 +0000
committerDavid Robillard <d@drobilla.net>2008-09-30 18:53:55 +0000
commite1c6990a81b3bc24308ff905e4196f03625a10b3 (patch)
treed2cd324c7d18c6e2a751a7afce536565aa092e97 /wscript
parente1d59a67788fd40ae5319a664bb36306b65de70a (diff)
downloadingen-e1c6990a81b3bc24308ff905e4196f03625a10b3.tar.gz
ingen-e1c6990a81b3bc24308ff905e4196f03625a10b3.tar.bz2
ingen-e1c6990a81b3bc24308ff905e4196f03625a10b3.zip
Install modules (mostly) the same place as autohell.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1555 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r--wscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/wscript b/wscript
index 3da79be8..f31ac53b 100644
--- a/wscript
+++ b/wscript
@@ -48,6 +48,9 @@ def configure(conf):
conf.env.append_value('CXXFLAGS', '-DCONFIG_H_PATH=\\\"waf-config.h\\\"')
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'
bld.add_subdirs('src/engine')
bld.add_subdirs('src/serialisation')
bld.add_subdirs('src/module')