Author: esr
Date: Thu Mar 27 11:38:03 2008
New Revision: 25185
URL: http://svn.gna.org/viewcvs/wesnoth?rev=25185&view=rev
Log:
Disable content-based signatures, and explain why it's a bad idea.
Modified:
trunk/SConstruct
Modified: trunk/SConstruct
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/SConstruct?rev=25185&r1=25184&r2=25185&view=diff
==============================================================================
--- trunk/SConstruct (original)
+++ trunk/SConstruct Thu Mar 27 11:38:03 2008
@@ -47,8 +47,6 @@
#
env = Environment(options = opts)
-
-env.TargetSignatures('content')
# Omits the 'test' target
all = env.Alias("all", ["wesnoth", "wesnoth_editor", "wesnothd", "campaignd",
@@ -459,6 +457,15 @@
r = env.Command("src/revision.hpp", [],
lambda target, source, env: open(str(target[0]),
"w").write("#define REVISION \"%s\"\n" % env["svnrev"]))
env.AlwaysBuild(r)
+
+# Don't do this! It looks tempting, because you could in theory prevent
+# a recompile-relink when revision.h gets remade with a later timestamp
+# but the same content. Unfortunately doing this causes a crash in the
+# install production, at least in scons 0.97, right after the actions
+# finish (thus, probably, at target-signature generation time).
+#env.TargetSignatures('content')
+
+
#
# File inventory, for archive makes abd analysis tools
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits