diff options
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | doc/reference.doxygen.in | 2 | ||||
-rw-r--r-- | include/serd/serd.h (renamed from serd/serd.h) | 0 | ||||
-rw-r--r-- | wscript | 8 |
4 files changed, 7 insertions, 6 deletions
@@ -1,8 +1,9 @@ serd (0.30.7) unstable; + * Move headers to an include directory * Split up and reorganize unit tests - -- David Robillard <d@drobilla.net> Mon, 09 Nov 2020 19:00:39 +0000 + -- David Robillard <d@drobilla.net> Mon, 09 Nov 2020 19:02:52 +0000 serd (0.30.6) stable; diff --git a/doc/reference.doxygen.in b/doc/reference.doxygen.in index a30e5b8a..73613f18 100644 --- a/doc/reference.doxygen.in +++ b/doc/reference.doxygen.in @@ -781,7 +781,7 @@ WARN_LOGFILE = # spaces. See also FILE_PATTERNS and EXTENSION_MAPPING # Note: If this tag is empty the current directory is searched. -INPUT = @SERD_SRCDIR@/serd/serd.h \ +INPUT = @SERD_SRCDIR@/include/serd/serd.h \ @SERD_SRCDIR@/doc/mainpage.md # This tag can be used to specify the character encoding of the source files diff --git a/serd/serd.h b/include/serd/serd.h index c1e8ba8e..c1e8ba8e 100644 --- a/serd/serd.h +++ b/include/serd/serd.h @@ -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}') |