summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-03-15 23:52:45 +0000
committerDavid Robillard <d@drobilla.net>2012-03-15 23:52:45 +0000
commitb617f75ff95d48ab3089976eb767e4f09abaa110 (patch)
tree971640580f926580dad54bb0a20e7838e135f5c6 /wscript
parent89e263ff78b51352f226c8b02ee65ecd8cbfefb8 (diff)
downloadingen-b617f75ff95d48ab3089976eb767e4f09abaa110.tar.gz
ingen-b617f75ff95d48ab3089976eb767e4f09abaa110.tar.bz2
ingen-b617f75ff95d48ab3089976eb767e4f09abaa110.zip
Remove weird "include" directory and use standard style ("ingen" directory in top level).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4063 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r--wscript6
1 files changed, 3 insertions, 3 deletions
diff --git a/wscript b/wscript
index 013568e5..9e2083fb 100644
--- a/wscript
+++ b/wscript
@@ -146,7 +146,7 @@ def build(bld):
# Headers
for i in ['', 'client', 'serialisation', 'shared']:
bld.install_files('${INCLUDEDIR}/ingen/%s' % i,
- bld.path.ant_glob('include/ingen/%s/*' % i))
+ bld.path.ant_glob('ingen/%s/*' % i))
# Modules
bld.recurse('src/shared')
@@ -161,9 +161,9 @@ def build(bld):
# Program
obj = bld(features = 'c cxx cxxprogram',
- target = 'ingen',
source = 'src/ingen/main.cpp',
- includes = ['.', '../../include'],
+ target = bld.path.get_bld().make_node('ingen'),
+ includes = ['.', '../..'],
defines = 'VERSION="' + bld.env['INGEN_VERSION'] + '"',
use = 'libingen_shared',
install_path = '${BINDIR}')