meson: convert to install_headers
authorDavid Heidelberg <david@ixit.cz>
Tue, 12 Nov 2019 13:40:37 +0000 (14:40 +0100)
committerTanu Kaskinen <tanuk@iki.fi>
Thu, 14 Nov 2019 19:11:01 +0000 (21:11 +0200)
Instead of install_data use correct install_headers

Signed-off-by: David Heidelberg <david@ixit.cz>
src/pulse/meson.build

index 28c24887eeb6120cf1be11f47d4c022bc03060f1..aaebff53ed7ac7b33002d20847f7ab2f42bab983 100644 (file)
@@ -86,9 +86,9 @@ libpulse = shared_library('pulse',
 
 libpulse_dep = declare_dependency(link_with: libpulse)
 
-install_data(
+install_headers(
   libpulse_headers, 'simple.h',
-  install_dir : join_paths(includedir, 'pulse')
+  subdir : 'pulse'
 )
 
 libpulse_simple = shared_library('pulse-simple',