Prevent building of translations if 'wesnoth' target is requested...
...but its dependencies aren't found.
This commit is contained in:
parent
5b4ece9bc6
commit
d96f28309d
1 changed files with 5 additions and 4 deletions
|
@ -427,6 +427,11 @@ binary_nodes = map(eval, binaries)
|
|||
all = env.Alias("all", map(Alias, binaries))
|
||||
env.Default(map(Alias, env["default_targets"]))
|
||||
|
||||
if have_client_prereqs and env["nls"]:
|
||||
env.Requires("wesnoth", Dir("translations"))
|
||||
if env["dummy_locales"]:
|
||||
env.Requires(wesnoth, Dir("locales"))
|
||||
|
||||
#
|
||||
# Utility productions (Unix-like systems only)
|
||||
#
|
||||
|
@ -453,10 +458,6 @@ if env["dummy_locales"]:
|
|||
"ln -sf $SOURCE.filebase $TARGET"
|
||||
)
|
||||
|
||||
env.Requires(wesnoth, Dir("locales"))
|
||||
if env["nls"]:
|
||||
env.Requires(wesnoth, Dir("translations"))
|
||||
|
||||
#
|
||||
# Unix installation productions
|
||||
#
|
||||
|
|
Loading…
Add table
Reference in a new issue