fix waf cmd tested for when deciding to build appdata.pot

This commit is contained in:
Paul Davis 2016-06-08 07:15:21 -04:00
parent 6c986231d3
commit aeed54ed91

View File

@ -857,7 +857,7 @@ def i18n_mo(bld):
def appdata_i18n_pot(bld):
potfile = os.path.join(bld.top_dir, 'gtk2_ardour', 'appdata',
'ardour.appdata.pot')
if bld.cmd == 'build':
if bld.cmd == 'i18n_pot':
Logs.info('Generating pot file from Ardour appdata')
itsfile = os.path.join(bld.top_dir, 'tools', 'as-metainfo.its')
adsource = os.path.join(bld.top_dir, 'gtk2_ardour',