Author: loonycyborg
Date: Tue Apr 8 14:02:53 2008
New Revision: 25678
URL: http://svn.gna.org/viewcvs/wesnoth?rev=25678&view=rev
Log:
scons recipe: fixed install-wesnothd target.
Modified:
trunk/SConstruct
Modified: trunk/SConstruct
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/SConstruct?rev=25678&r1=25677&r2=25678&view=diff
==============================================================================
--- trunk/SConstruct (original)
+++ trunk/SConstruct Tue Apr 8 14:02:53 2008
@@ -1156,8 +1156,11 @@
])
# Wesnoth MP server install
-install_env.Alias("install-wesnothd", install_env.Install(bindir, wesnothd))
-install_env.Alias("install-wesnothd", install_env.Install(os.path.join(mandir,
"man6"), "doc/man/wesnothd.6"))
+install_wesnothd = install_env.Install(bindir, wesnothd)
+install_env.Alias("install-wesnothd", [
+ install_wesnothd,
+ install_env.Install(os.path.join(mandir,
"man6"), "doc/man/wesnothd.6")
+ ])
for lang in filter(CopyFilter, os.listdir("doc/man")):
sourcedir = os.path.join("doc/man", lang)
if os.path.isdir(sourcedir):
@@ -1167,7 +1170,7 @@
os.path.join(sourcedir, "wesnothd.6"),
]))
if not access(fifodir, F_OK):
- install_env.Alias('install-wesnothd', [
+ install_env.AddPostAction(install_wesnothd, [
Mkdir(fifodir),
Chmod(fifodir, 0700),
Action("chown %s:%s %s" %
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits