From 9f946d2d11f293bebc826889e829364fcad711a9 Mon Sep 17 00:00:00 2001 From: "Jan Alexander Steffens (heftig)" Date: Thu, 11 Jul 2019 01:32:57 +0200 Subject: [PATCH] meson: Fix installation of headers To match Autotools: - internal.h should not be installed - Install simple.h and version.h --- src/pulse/meson.build | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/pulse/meson.build b/src/pulse/meson.build index 3b1da90..493bf58 100644 --- a/src/pulse/meson.build +++ b/src/pulse/meson.build @@ -1,4 +1,9 @@ -configure_file(input : 'version.h.in', output : 'version.h', configuration : cdata) +configure_file( + input : 'version.h.in', + output : 'version.h', + configuration : cdata, + install_dir : join_paths(includedir, 'pulse'), +) libpulse_sources = [ 'channelmap.c', @@ -9,6 +14,7 @@ libpulse_sources = [ 'ext-device-restore.c', 'ext-stream-restore.c', 'format.c', + 'internal.h', 'introspect.c', 'mainloop-api.c', 'mainloop-signal.c', @@ -40,7 +46,6 @@ libpulse_headers = [ 'ext-stream-restore.h', 'format.h', 'gccmacro.h', - 'internal.h', 'introspect.h', 'mainloop-api.h', 'mainloop-signal.h', @@ -77,7 +82,8 @@ libpulse = shared_library('pulse', libpulse_dep = declare_dependency(link_with: libpulse) -install_data(libpulse_headers, +install_data( + libpulse_headers, 'simple.h', install_dir : join_paths(includedir, 'pulse') ) -- 2.7.4