Generate revision.hpp in src/.

This commit is contained in:
Sergey Popov 2008-09-26 17:40:08 +00:00
parent 42ffc83ca6
commit a30935772a
2 changed files with 2 additions and 2 deletions

View file

@ -253,7 +253,7 @@ else:
have_server_prereqs = True
have_test_prereqs = True
env.Append(CPPPATH = ["#/", "."])
env.Append(CPPPATH = ["#/", "#/src"])
have_msgfmt = env["MSGFMT"]

View file

@ -380,7 +380,7 @@ test = test_env.WesnothProgram("test", test_sources + [libwesnoth_extras, libwe
if env["svnrev"] != "" and env["svnrev"] != "exported":
revision_define = "#define REVISION \"%s\"\n" % env["svnrev"]
env.Command("revision.hpp", Value(env["svnrev"]), Action(
env.Command("#/src/revision.hpp", Value(env["svnrev"]), Action(
lambda target, source, env: open(str(target[0]), "w").write(revision_define),
"Generating revision.hpp..."
))