Commit bbdbd848 authored by Alexandru Băluț's avatar Alexandru Băluț

Use join_paths in meson.build files

parent a711b488
lang = 'el'
_help_installdir = get_option('datadir') + '/help/' + lang + '/pitivi/'
_help_installdir = join_paths(get_option('datadir'), 'help', lang, 'pitivi')
install_subdir('figures', install_dir: _help_installdir)
mo = custom_target(lang + '.mo',
......@@ -11,9 +11,8 @@ mo = custom_target(lang + '.mo',
foreach help_page: help_pages
custom_target(lang + '.' + help_page + '.page',
output : help_page,
input : '../C/' + help_page,
input : join_paths('../C', help_page),
command : [itstool, '-m', mo,'@INPUT@', '--output', '@OUTPUT@'],
install: true,
install_dir: get_option('datadir') + '/help/' + lang + '/pitivi/')
install_dir: join_paths(get_option('datadir'), 'help', lang, 'pitivi'))
endforeach
lang = 'es'
_help_installdir = get_option('datadir') + '/help/' + lang + '/pitivi/'
_help_installdir = join_paths(get_option('datadir'), 'help', lang, 'pitivi')
install_subdir('figures', install_dir: _help_installdir)
mo = custom_target(lang + '.mo',
......@@ -11,9 +11,8 @@ mo = custom_target(lang + '.mo',
foreach help_page: help_pages
custom_target(lang + '.' + help_page + '.page',
output : help_page,
input : '../C/' + help_page,
input : join_paths('../C', help_page),
command : [itstool, '-m', mo,'@INPUT@', '--output', '@OUTPUT@'],
install: true,
install_dir: get_option('datadir') + '/help/' + lang + '/pitivi/')
install_dir: join_paths(get_option('datadir'), 'help', lang, 'pitivi'))
endforeach
lang = 'fr'
_help_installdir = get_option('datadir') + '/help/' + lang + '/pitivi/'
_help_installdir = join_paths(get_option('datadir'), 'help', lang, 'pitivi')
install_subdir('figures', install_dir: _help_installdir)
mo = custom_target(lang + '.mo',
......@@ -11,9 +11,8 @@ mo = custom_target(lang + '.mo',
foreach help_page: help_pages
custom_target(lang + '.' + help_page + '.page',
output : help_page,
input : '../C/' + help_page,
input : join_paths('../C', help_page),
command : [itstool, '-m', mo,'@INPUT@', '--output', '@OUTPUT@'],
install: true,
install_dir: get_option('datadir') + '/help/' + lang + '/pitivi/')
install_dir: join_paths(get_option('datadir'), 'help', lang, 'pitivi'))
endforeach
lang = 'sl'
_help_installdir = get_option('datadir') + '/help/' + lang + '/pitivi/'
_help_installdir = join_paths(get_option('datadir'), 'help', lang, 'pitivi')
install_subdir('figures', install_dir: _help_installdir)
mo = custom_target(lang + '.mo',
......@@ -11,9 +11,8 @@ mo = custom_target(lang + '.mo',
foreach help_page: help_pages
custom_target(lang + '.' + help_page + '.page',
output : help_page,
input : '../C/' + help_page,
input : join_paths('../C', help_page),
command : [itstool, '-m', mo,'@INPUT@', '--output', '@OUTPUT@'],
install: true,
install_dir: get_option('datadir') + '/help/' + lang + '/pitivi/')
install_dir: join_paths(get_option('datadir'), 'help', lang, 'pitivi'))
endforeach
lang = 'sv'
_help_installdir = get_option('datadir') + '/help/' + lang + '/pitivi/'
_help_installdir = join_paths(get_option('datadir'), 'help', lang, 'pitivi')
install_subdir('figures', install_dir: _help_installdir)
mo = custom_target(lang + '.mo',
......@@ -11,9 +11,8 @@ mo = custom_target(lang + '.mo',
foreach help_page: help_pages
custom_target(lang + '.' + help_page + '.page',
output : help_page,
input : '../C/' + help_page,
input : join_paths('../C', help_page),
command : [itstool, '-m', mo,'@INPUT@', '--output', '@OUTPUT@'],
install: true,
install_dir: get_option('datadir') + '/help/' + lang + '/pitivi/')
install_dir: join_paths(get_option('datadir'), 'help', lang, 'pitivi'))
endforeach
lang = 'uk'
_help_installdir = get_option('datadir') + '/help/' + lang + '/pitivi/'
_help_installdir = join_paths(get_option('datadir'), 'help', lang, 'pitivi')
install_subdir('figures', install_dir: _help_installdir)
mo = custom_target(lang + '.mo',
......@@ -11,9 +11,8 @@ mo = custom_target(lang + '.mo',
foreach help_page: help_pages
custom_target(lang + '.' + help_page + '.page',
output : help_page,
input : '../C/' + help_page,
input : join_paths('../C', help_page),
command : [itstool, '-m', mo,'@INPUT@', '--output', '@OUTPUT@'],
install: true,
install_dir: get_option('datadir') + '/help/' + lang + '/pitivi/')
install_dir: join_paths(get_option('datadir'), 'help', lang, 'pitivi'))
endforeach
gstvalidate = find_program('gst-validate-launcher', required : false)
if gstvalidate.found()
run_target('validate', command : [meson.current_source_dir() + '/runtests'])
run_target('validate', command : [join_paths(meson.current_source_dir(), 'runtests')])
endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment