Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
32 lines
788 B
Meson
32 lines
788 B
Meson
# Build settings based on the upstream Xcode project.
|
|
# See: https://github.com/apple-oss-distributions/doc_cmds/blob/main/doc_cmds.xcodeproj/project.pbxproj
|
|
|
|
# Project settings
|
|
project('doc_cmds', 'c', version : '@version@')
|
|
add_global_arguments('-D__FBSDID=__RCSID', language : 'c')
|
|
|
|
|
|
# Dependencies
|
|
cc = meson.get_compiler('c')
|
|
|
|
zlib = dependency('zlib')
|
|
|
|
|
|
# Binaries
|
|
executable(
|
|
'makewhatis',
|
|
dependencies : [ zlib ],
|
|
install : true,
|
|
install_dir : get_option('libexecdir'),
|
|
sources : [ 'makewhatis/makewhatis.c' ],
|
|
)
|
|
install_man('makewhatis/makewhatis.8')
|
|
|
|
install_data(
|
|
'makewhatis/makewhatis.local.sh',
|
|
install_dir : get_option('libexecdir'),
|
|
install_mode : 'r-xr-xr-x',
|
|
rename : 'makewhatis.local'
|
|
)
|
|
install_man('makewhatis/makewhatis.local.8')
|