From 59307f4af468144a0ad76e3c5d68927b2ba90d91 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 9 Nov 2020 12:21:42 +0100 Subject: Move header to conventional include directory --- wscript | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'wscript') diff --git a/wscript b/wscript index 7a6bd52c..4c3b0e48 100644 --- a/wscript +++ b/wscript @@ -164,8 +164,8 @@ def build(bld): {'SERD_MAJOR_VERSION': SERD_MAJOR_VERSION}) defines = [] - lib_args = {'export_includes': ['.'], - 'includes': ['.', './src'], + lib_args = {'export_includes': ['include'], + 'includes': ['include', './src'], 'cflags': ['-fvisibility=hidden'], 'lib': ['m'], 'vnum': SERD_VERSION, @@ -195,7 +195,7 @@ def build(bld): if bld.env.BUILD_TESTS: coverage_flags = [''] if bld.env.NO_COVERAGE else ['--coverage'] - test_args = {'includes': ['.', './src'], + test_args = {'includes': ['include', './src'], 'cflags': coverage_flags, 'linkflags': coverage_flags, 'lib': lib_args['lib'], @@ -227,7 +227,7 @@ def build(bld): obj = bld(features = 'c cprogram', source = 'src/serdi.c', target = 'serdi', - includes = ['.', './src'], + includes = ['include', './src'], use = 'libserd', lib = lib_args['lib'], install_path = '${BINDIR}') -- cgit v1.2.1