meson: headers: Install headers
Fixes #1365 Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
This commit is contained in:
parent
f02de6de85
commit
7a7982f94e
5 changed files with 17 additions and 4 deletions
|
@ -7,7 +7,10 @@ defs.set('LIBBLKID_VERSION', pc_version)
|
|||
blkid_h = configure_file(
|
||||
input : 'src/blkid.h.in',
|
||||
output : 'blkid.h',
|
||||
configuration : defs)
|
||||
configuration : defs,
|
||||
install : build_libblkid,
|
||||
install_dir : join_paths(get_option('includedir'), 'blkid'),
|
||||
)
|
||||
|
||||
lib_blkid_sources = '''
|
||||
src/blkidP.h
|
||||
|
|
|
@ -9,7 +9,10 @@ defs.set('LIBFDISK_PATCH_VERSION', pc_version.split('.')[2])
|
|||
libfdisk_h = configure_file(
|
||||
input : 'src/libfdisk.h.in',
|
||||
output : 'libfdisk.h',
|
||||
configuration : defs)
|
||||
configuration : defs,
|
||||
install : build_libfdisk,
|
||||
install_dir : join_paths(get_option('includedir'), 'libfisk'),
|
||||
)
|
||||
|
||||
lib_fdisk_sources = '''
|
||||
src/fdiskP.h
|
||||
|
|
|
@ -9,7 +9,10 @@ defs.set('LIBMOUNT_PATCH_VERSION', pc_version.split('.')[2])
|
|||
libmount_h = configure_file(
|
||||
input : 'src/libmount.h.in',
|
||||
output : 'libmount.h',
|
||||
configuration : defs)
|
||||
configuration : defs,
|
||||
install : build_libmount,
|
||||
install_dir : join_paths(get_option('includedir'), 'libmount'),
|
||||
)
|
||||
|
||||
lib_mount_sources = '''
|
||||
src/mountP.h
|
||||
|
|
|
@ -6,7 +6,10 @@ defs.set('LIBSMARTCOLS_VERSION', pc_version)
|
|||
libsmartcols_h = configure_file(
|
||||
input : 'src/libsmartcols.h.in',
|
||||
output : 'libsmartcols.h',
|
||||
configuration : defs)
|
||||
configuration : defs,
|
||||
install : build_libsmartcols,
|
||||
install_dir : join_paths(get_option('includedir'), 'libsmartcols'),
|
||||
)
|
||||
|
||||
lib_smartcols_sources = '''
|
||||
src/smartcolsP.h
|
||||
|
|
|
@ -42,3 +42,4 @@ pkgconfig.generate(lib_uuid,
|
|||
description : 'Universally unique id library',
|
||||
subdirs : 'uuid',
|
||||
version : pc_version)
|
||||
install_headers('src/uuid.h', subdir : 'uuid')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue