Rename timeline-object.h to libweston/timeline-object.h
This patch sets up the stage for similarly renaming compositor.h which will
justify this. That patch will be big, so moving timeline-object.h first makes
it easy to see the changes to the build and install directives.
This and all the following moves essentially break the API, so libweston major
is bumped.
Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
diff --git a/meson.build b/meson.build
index 8962c87..7e4fc23 100644
--- a/meson.build
+++ b/meson.build
@@ -10,7 +10,7 @@
license: 'MIT/Expat',
)
-libweston_major = 6
+libweston_major = 7
# libweston_revision is manufactured to follow the autotools build's
# library file naming, thanks to libtool
@@ -31,6 +31,7 @@
dir_bin = join_paths(dir_prefix, get_option('bindir'))
dir_data = join_paths(dir_prefix, get_option('datadir'))
dir_include_libweston = 'libweston-@0@'.format(libweston_major)
+dir_include_libweston_install = join_paths(dir_include_libweston, 'libweston')
dir_lib = join_paths(dir_prefix, get_option('libdir'))
dir_libexec = join_paths(dir_prefix, get_option('libexecdir'))
dir_module_weston = join_paths(dir_lib, 'weston')
@@ -40,6 +41,8 @@
dir_man = join_paths(dir_prefix, get_option('mandir'))
dir_protocol_libweston = 'libweston/protocols'
+public_inc = include_directories('include')
+
pkgconfig = import('pkgconfig')
libweston_version_h = configuration_data()
@@ -149,6 +152,7 @@
dep_libdrm_headers = dep_libdrm.partial_dependency(compile_args: true)
dep_threads = dependency('threads')
+subdir('include')
subdir('protocol')
subdir('shared')
subdir('libweston')