mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-25 19:12:57 +00:00
Prevent building of translations if 'wesnoth' target is requested...
...but its dependencies aren't found.
This commit is contained in:
parent
5b4ece9bc6
commit
d96f28309d
@ -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…
x
Reference in New Issue
Block a user