Author: esr
Date: Wed Mar 26 15:36:03 2008
New Revision: 25152
URL: http://svn.gna.org/viewcvs/wesnoth?rev=25152&view=rev
Log:
Thinko fix in scons recipe.
Modified:
trunk/SConstruct
Modified: trunk/SConstruct
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/SConstruct?rev=25152&r1=25151&r2=25152&view=diff
==============================================================================
--- trunk/SConstruct (original)
+++ trunk/SConstruct Wed Mar 26 15:36:03 2008
@@ -608,11 +608,11 @@
bindir = os.path.normpath(os.path.join(env['prefix'], "bin"))
pythonlib = os.path.join(env['prefix'] + "/lib/python/site-packages/wesnoth")
datadir = env['datadir']
-pythonbins = [wesnoth, wesnoth_editor, cutter, exploder]
+binaries = [wesnoth, wesnoth_editor, cutter, exploder]
pythontools = Split("wmlscope wmllint wmlindent")
pythonmodules = Split("wmltools.py wmlparser.py wmldata.py wmliterator.py
campaignserver_client.py libsvn.py __init__.py")
-for binary in pythonbins:
+for binary in binaries:
env.Install(bindir, binary)
for tool in pythontools:
env.Install(bindir, 'data/tools/' + tool)
@@ -625,7 +625,7 @@
#
# Un-installation
#
-deletions = map(lambda x: Delete(os.path.join(bindir, str(x[0]))), pythonbins)
\
+deletions = map(lambda x: Delete(os.path.join(bindir, str(x[0]))), binaries) \
+ [Delete(datadir), Delete(pythonlib)]
uninstall = env.Command('uninstall', '', deletions)
env.AlwaysBuild(uninstall)
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits