mirror of
https://github.com/rkd77/elinks.git
synced 2025-10-21 19:54:04 -04:00
[po] added scripts to generate elinks.pot
This commit is contained in:
@@ -7,8 +7,14 @@ if conf_data.get('CONFIG_NLS')
|
||||
)
|
||||
endif
|
||||
|
||||
generate_potfiles = find_program('potfiles.py')
|
||||
potfiles = custom_target('generate-potfiles', command:[generate_potfiles], output:'potfiles.list')
|
||||
|
||||
generate_pot = find_program('generate_pot.py')
|
||||
generate_pot_tgt = custom_target('generate-pot', command:[generate_pot, meson.project_version()], depends:[potfiles], output:'elinks.pot')
|
||||
|
||||
check_po_sh = find_program('check_po.sh')
|
||||
run_target('check-po', command:[check_po_sh])
|
||||
|
||||
update_po_sh = find_program('update_po.sh')
|
||||
run_target('update-po', command:[update_po_sh])
|
||||
run_target('update-po', command:[update_po_sh], depends:[generate_pot_tgt])
|
||||
|
||||
Reference in New Issue
Block a user