v1.1.1: Headers and pkg-config file are now installed
This commit is contained in:
parent
5217c5a398
commit
c64526023e
17
meson.build
17
meson.build
@ -1,6 +1,8 @@
|
||||
project('wofi', 'c', version : 'v1.1', default_options : ['buildtype=release', 'warning_level=2'])
|
||||
project('wofi', 'c', version : 'v1.1.1', default_options : ['buildtype=release', 'warning_level=2'])
|
||||
cc = meson.get_compiler('c')
|
||||
|
||||
pkgcfg = import('pkgconfig')
|
||||
|
||||
inc = include_directories('inc')
|
||||
gtk = dependency('gtk+-3.0')
|
||||
threads = dependency('threads')
|
||||
@ -53,4 +55,17 @@ install_man('man/wofi.1',
|
||||
'man/wofi-map.3',
|
||||
'man/wofi-utils.3')
|
||||
|
||||
subdir = 'wofi-1'
|
||||
|
||||
install_headers('inc/config.h',
|
||||
'inc/map.h',
|
||||
'inc/utils.h',
|
||||
'inc/wofi_api.h',
|
||||
subdir : subdir)
|
||||
|
||||
pkgcfg.generate(name : meson.project_name(),
|
||||
description : 'Wofi API for developing modes',
|
||||
requires : wayland,
|
||||
subdirs : subdir)
|
||||
|
||||
executable(meson.project_name(), sources, include_directories : inc, dependencies : deps, install : true)
|
Loading…
Reference in New Issue
Block a user