aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-11-09 12:21:42 +0100
committerDavid Robillard <d@drobilla.net>2020-11-09 20:03:00 +0100
commit59307f4af468144a0ad76e3c5d68927b2ba90d91 (patch)
treeda73a53a6aa62cdccef7c2d02fe734c904456dad
parent8e0270ea4d800d4f52d6c563dbb07dbb6e8cd1b7 (diff)
downloadserd-59307f4af468144a0ad76e3c5d68927b2ba90d91.tar.gz
serd-59307f4af468144a0ad76e3c5d68927b2ba90d91.tar.bz2
serd-59307f4af468144a0ad76e3c5d68927b2ba90d91.zip
Move header to conventional include directory
-rw-r--r--NEWS3
-rw-r--r--doc/reference.doxygen.in2
-rw-r--r--include/serd/serd.h (renamed from serd/serd.h)0
-rw-r--r--wscript8
4 files changed, 7 insertions, 6 deletions
diff --git a/NEWS b/NEWS
index deea87ba..cdfc1ca2 100644
--- a/NEWS
+++ b/NEWS
@@ -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
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}')