mirror of
https://github.com/linux-speakup/espeakup.git
synced 2026-08-09 09:19:09 +02:00
format build files consistently
This commit is contained in:
parent
3794e8e74b
commit
f077d0c042
5 changed files with 21 additions and 20 deletions
|
|
@ -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'))
|
||||||
|
|
|
||||||
|
|
@ -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')
|
||||||
|
|
|
||||||
|
|
@ -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')
|
||||||
|
|
|
||||||
|
|
@ -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(
|
||||||
|
|
|
||||||
|
|
@ -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')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue