scons recipe: fully implemented dummy locales.
This commit is contained in:
parent
eee2650535
commit
3c498a683a
1 changed files with 6 additions and 1 deletions
|
@ -425,6 +425,9 @@ if env['localedir']:
|
|||
if not os.path.isabs(env['localedir']):
|
||||
env["CXXFLAGS"].append("-DHAS_RELATIVE_LOCALEDIR")
|
||||
|
||||
if env['dummy_locales']:
|
||||
env["CXXFLAGS"].append("-DUSE_DUMMYLOCALES")
|
||||
|
||||
# Simulate autools-like behavior of prefix on various paths
|
||||
for d in ("datadir", "fifodir", "icondir", "desktopdir"):
|
||||
if not os.path.isabs(env[d]):
|
||||
|
@ -1026,7 +1029,9 @@ datadir = env['datadir']
|
|||
docdir = os.path.join(env['prefix'], "share/doc/wesnoth")
|
||||
installable_subdirs = Split('data fonts icons images sounds')
|
||||
if env['nls']:
|
||||
installable_subdirs.append("translations")
|
||||
installable_subdirs.append("translations")
|
||||
if env['dummy_locales']:
|
||||
installable_subdirs.append("locales")
|
||||
fifodir = env['fifodir']
|
||||
mandir = os.path.join(env["prefix"], "share/man")
|
||||
clientside = filter(lambda x : x, [wesnoth, wesnoth_editor, cutter, exploder])
|
||||
|
|
Loading…
Add table
Reference in a new issue