To match Autotools:
- internal.h should not be installed
- Install simple.h and version.h
-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',
'ext-device-restore.c',
'ext-stream-restore.c',
'format.c',
+ 'internal.h',
'introspect.c',
'mainloop-api.c',
'mainloop-signal.c',
'ext-stream-restore.h',
'format.h',
'gccmacro.h',
- 'internal.h',
'introspect.h',
'mainloop-api.h',
'mainloop-signal.h',
libpulse_dep = declare_dependency(link_with: libpulse)
-install_data(libpulse_headers,
+install_data(
+ libpulse_headers, 'simple.h',
install_dir : join_paths(includedir, 'pulse')
)