format build files consistently

This commit is contained in:
William Hubbs 2021-07-02 13:24:22 -05:00 committed by Alexander Epaneshnikov
commit f077d0c042
5 changed files with 21 additions and 20 deletions

View file

@ -1,7 +1,7 @@
ronn = find_program('ronn', required: get_option('man')) ronn = find_program('ronn', required: get_option('man'))
if ronn.found() if ronn.found()
custom_target('man', input:files('espeakup.8.ronn'), custom_target('man',
input : files('espeakup.8.ronn'),
output : 'espeakup.8', output : 'espeakup.8',
command : [ronn, '--output-dir', '@OUTDIR@', '--roff', '@INPUT@'], command : [ronn, '--output-dir', '@OUTDIR@', '--roff', '@INPUT@'],
install : true, install_dir: join_paths(get_option('mandir'),'man8')) install : true, install_dir: join_paths(get_option('mandir'),'man8'))

View file

@ -1,5 +1,9 @@
project('espeakup', 'c', project('espeakup', 'c',
default_options : ['buildtype=debugoptimized', 'c_std=gnu11', 'warning_level=3'], default_options : [
'buildtype=debugoptimized',
'c_std=gnu11',
'warning_level=3'
],
license : 'GPL-3.0-or-later', license : 'GPL-3.0-or-later',
version : '0.90', version : '0.90',
meson_version : '>=0.47.0') meson_version : '>=0.47.0')

View file

@ -1,4 +1,4 @@
option('systemd', type : 'feature', value : 'auto',
description :'enable systemd support')
option('man', type : 'feature', value : 'auto', option('man', type : 'feature', value : 'auto',
description : 'build manpage with ronn') description : 'build manpage with ronn')
option('systemd', type : 'feature', value : 'auto',
description :'enable systemd support')

View file

@ -3,7 +3,6 @@ prefixdir = get_option('prefix')
bindir = join_paths(prefixdir, get_option('bindir')) bindir = join_paths(prefixdir, get_option('bindir'))
unit_conf = configuration_data() unit_conf = configuration_data()
unit_conf.set('bindir', bindir) unit_conf.set('bindir', bindir)
service_file = configure_file( service_file = configure_file(

View file

@ -1,6 +1,3 @@
espeakup_version = vcs_tag(input : 'version.h.in', output : 'version.h')
espeakup_sources = files([ espeakup_sources = files([
'cli.c', 'cli.c',
'espeak.c', 'espeak.c',
@ -10,3 +7,4 @@ espeakup_sources = files([
'softsynth.c', 'softsynth.c',
'stringhandling.c' 'stringhandling.c'
]) ])
espeakup_version = vcs_tag(input : 'version.h.in', output : 'version.h')