mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-04-20 03:35:41 +02:00
meson: install header files
This commit is contained in:
parent
095766ca12
commit
aaa5239b07
2 changed files with 17 additions and 0 deletions
|
@ -46,3 +46,5 @@ endif
|
||||||
bar = declare_dependency(
|
bar = declare_dependency(
|
||||||
sources: ['bar.c', 'bar.h', 'private.h', 'backend.h'],
|
sources: ['bar.c', 'bar.h', 'private.h', 'backend.h'],
|
||||||
dependencies: bar_backends + [threads])
|
dependencies: bar_backends + [threads])
|
||||||
|
|
||||||
|
install_headers('bar.h', subdir: 'f00bar/bar')
|
||||||
|
|
15
meson.build
15
meson.build
|
@ -54,6 +54,7 @@ if enable_x11
|
||||||
c_args: xcb_errors.found() ? '-DHAVE_XCB_ERRORS' : [],
|
c_args: xcb_errors.found() ? '-DHAVE_XCB_ERRORS' : [],
|
||||||
pic: get_option('core-plugins-as-shared-libraries'))
|
pic: get_option('core-plugins-as-shared-libraries'))
|
||||||
xcb_stuff = declare_dependency(link_with: xcb_stuff_lib)
|
xcb_stuff = declare_dependency(link_with: xcb_stuff_lib)
|
||||||
|
install_headers('xcb.h', subdir: 'f00bar')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
subdir('doc')
|
subdir('doc')
|
||||||
|
@ -83,3 +84,17 @@ executable(
|
||||||
export_dynamic: true,
|
export_dynamic: true,
|
||||||
install: true,
|
install: true,
|
||||||
install_rpath: '$ORIGIN/../' + get_option('libdir') + '/f00bar')
|
install_rpath: '$ORIGIN/../' + get_option('libdir') + '/f00bar')
|
||||||
|
|
||||||
|
install_headers(
|
||||||
|
'color.h',
|
||||||
|
'config.h',
|
||||||
|
'config-verify.h',
|
||||||
|
'decoration.h',
|
||||||
|
'font.h',
|
||||||
|
'log.h',
|
||||||
|
'module.h',
|
||||||
|
'particle.h',
|
||||||
|
'tag.h',
|
||||||
|
'tllist.h',
|
||||||
|
'yml.h',
|
||||||
|
subdir: 'f00bar')
|
||||||
|
|
Loading…
Add table
Reference in a new issue