summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Alexander Steffens (heftig) <jan.steffens@gmail.com>2019-07-11 01:32:57 +0200
committerArun Raghavan <arun@arunraghavan.net>2019-07-25 16:53:01 +0000
commit9f946d2d11f293bebc826889e829364fcad711a9 (patch)
treee3743ee0aeb18ff988482ad69a49cf2e66bb465b
parent8e98ed94939fe08269b97ee0fb15ec4afa7ddb4c (diff)
downloadpulseaudio-9f946d2d11f293bebc826889e829364fcad711a9.tar.gz
meson: Fix installation of headers
To match Autotools: - internal.h should not be installed - Install simple.h and version.h
-rw-r--r--src/pulse/meson.build12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/pulse/meson.build b/src/pulse/meson.build
index 3b1da90f9..493bf582d 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')
)