| I did some major surgery on the error strings a couple of days ago,
and so the .xmg databases need to me rebuilt. This seemed not to me
present in the SConstruct file, so I tried to add it. Clearly I do
not understand scons syntax I added
opts.Add('generateXmg',
'Set to 1 to generate string database',
0)
and
if commonEnvironment['generateXmg'] == 1:
print "Calling makedb"
xmgs = commonEnvironment.Command('American.xmg', ['strings/all_strings'], './makedb strings/all_strings American')
xmgs1 = commonEnvironment.Command('English.xmg', ['strings/english_strings'], './makedb strings/english_strings English')
xmgs2 = commonEnvironment.Command('csound.xmg', ['strings/english_strings'], './makedb strings/english_strings csound')
Depends(xmgs, makedb)
Depends(xmgs1, makedb)
Depends(xmgs2, makedb)
but it does nothing, not even doing the print as happens in TAG even
when TAGS are not rebuilt. Please educate me, or fix, or both
==John ffitch |