mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
scons: make "scons install" succeed without msgfmt
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14490 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
703448db7a
commit
6c36d0444c
@ -2297,13 +2297,13 @@ if build_po:
|
||||
if env.has_key('languages'):
|
||||
languages = env.make_list(env['lanauges'])
|
||||
# use defulat msgfmt
|
||||
gmo_files = []
|
||||
if not env['MSGFMT']:
|
||||
print 'msgfmt does not exist. Can not process po files'
|
||||
else:
|
||||
# create a builder
|
||||
env['BUILDERS']['Transfiles'] = Builder(action='$MSGFMT $SOURCE -o $TARGET',suffix='.gmo',src_suffix='.po')
|
||||
#
|
||||
gmo_files = []
|
||||
for f in transfiles:
|
||||
# get filename
|
||||
fname = os.path.split(f)[1]
|
||||
|
Loading…
Reference in New Issue
Block a user