setup.py: always regenerate *.desktop and *.appdata.xml
otherwise we might ship outdated files
This commit is contained in:
parent
3e80707eee
commit
289c67fd8a
2
setup.py
2
setup.py
|
@ -144,7 +144,7 @@ def merge(in_file, out_file, option, po_dir='po'):
|
||||||
'''
|
'''
|
||||||
Run the msgfmt command.
|
Run the msgfmt command.
|
||||||
'''
|
'''
|
||||||
if (not os.path.exists(out_file) and os.path.exists(in_file)):
|
if os.path.exists(in_file):
|
||||||
cmd = (('msgfmt %(opt)s -d %(po_dir)s --template %(in_file)s '
|
cmd = (('msgfmt %(opt)s -d %(po_dir)s --template %(in_file)s '
|
||||||
'-o %(out_file)s') %
|
'-o %(out_file)s') %
|
||||||
{'opt' : option,
|
{'opt' : option,
|
||||||
|
|
Loading…
Reference in New Issue