Author: loonycyborg
Date: Fri Sep 26 19:40:08 2008
New Revision: 29698

URL: http://svn.gna.org/viewcvs/wesnoth?rev=29698&view=rev
Log:
Generate revision.hpp in src/.

Modified:
    trunk/SConstruct
    trunk/src/SConscript

Modified: trunk/SConstruct
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/SConstruct?rev=29698&r1=29697&r2=29698&view=diff
==============================================================================
--- trunk/SConstruct (original)
+++ trunk/SConstruct Fri Sep 26 19:40:08 2008
@@ -253,7 +253,7 @@
     have_server_prereqs = True
     have_test_prereqs = True
 
-env.Append(CPPPATH = ["#/", "."])
+env.Append(CPPPATH = ["#/", "#/src"])
 
 
 have_msgfmt = env["MSGFMT"]

Modified: trunk/src/SConscript
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/SConscript?rev=29698&r1=29697&r2=29698&view=diff
==============================================================================
--- trunk/src/SConscript (original)
+++ trunk/src/SConscript Fri Sep 26 19:40:08 2008
@@ -380,7 +380,7 @@
 
 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..."
                     ))


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to