libscfg: Install headers v1 SUPERSEDED

Tadeo Kondrak: 1
 Install headers

 1 files changed, 2 insertions(+), 0 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~emersion/public-inbox/patches/27843/mbox | git am -3
Learn more about email & git

[PATCH libscfg] Install headers Export this patch

The libscfg header doesn't seem to get installed, this should fix

I'm not sure whether install_subdir is the cleanest way to do this,
but it's what wlroots seems to use.

 meson.build | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meson.build b/meson.build
index a82333e..7181bc3 100644
--- a/meson.build
+++ b/meson.build
@@ -19,6 +19,8 @@ add_project_arguments(cc.get_supported_arguments([
]), language: 'c')

install_subdir('include', install_dir: get_option('includedir'))

scfg_inc = include_directories('include')

scfg_lib = library(
Thanks for the patch! However, I think this will install include/ to
/usr/include/, resulting in a /usr/include/include/ subdir.

I think we can just use install_headers() instead since we have a single one
to install.