From aaa5239b07a30e8fd9dcb743a52f19c066fffee4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Fri, 3 May 2019 22:43:41 +0200 Subject: [PATCH] meson: install header files --- bar/meson.build | 2 ++ meson.build | 15 +++++++++++++++ 2 files changed, 17 insertions(+) diff --git a/bar/meson.build b/bar/meson.build index b92c93a..c432817 100644 --- a/bar/meson.build +++ b/bar/meson.build @@ -46,3 +46,5 @@ endif bar = declare_dependency( sources: ['bar.c', 'bar.h', 'private.h', 'backend.h'], dependencies: bar_backends + [threads]) + +install_headers('bar.h', subdir: 'f00bar/bar') diff --git a/meson.build b/meson.build index 548c978..03fba44 100644 --- a/meson.build +++ b/meson.build @@ -54,6 +54,7 @@ if enable_x11 c_args: xcb_errors.found() ? '-DHAVE_XCB_ERRORS' : [], pic: get_option('core-plugins-as-shared-libraries')) xcb_stuff = declare_dependency(link_with: xcb_stuff_lib) + install_headers('xcb.h', subdir: 'f00bar') endif subdir('doc') @@ -83,3 +84,17 @@ executable( export_dynamic: true, install: true, install_rpath: '$ORIGIN/../' + get_option('libdir') + '/f00bar') + +install_headers( + 'color.h', + 'config.h', + 'config-verify.h', + 'decoration.h', + 'font.h', + 'log.h', + 'module.h', + 'particle.h', + 'tag.h', + 'tllist.h', + 'yml.h', + subdir: 'f00bar')