mail[Wesnoth-commits] r25327 - /trunk/SConstruct


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by esr on March 30, 2008 - 14:31:
Author: esr
Date: Sun Mar 30 14:31:47 2008
New Revision: 25327

URL: http://svn.gna.org/viewcvs/wesnoth?rev=25327&view=rev
Log:
Installation of localized manual pages for server side.

Modified:
    trunk/SConstruct

Modified: trunk/SConstruct
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/SConstruct?rev=25327&r1=25326&r2=25327&view=diff
==============================================================================
--- trunk/SConstruct (original)
+++ trunk/SConstruct Sun Mar 30 14:31:47 2008
@@ -1004,6 +1004,15 @@
 from os import access, F_OK
 install_wesnothd = wesnothd_env.Install(bindir, wesnothd)
 env.Alias("install-wesnothd", install_wesnothd)
+wesnothd_env.Install(os.path.join(mandir, "man6"), "doc/man/wesnothd.6"),
+for lang in os.listdir("doc/man"):
+     sourcedir = os.path.join("doc/man", lang)
+     if os.path.isdir(sourcedir) and CopyFilter(sourcedir):
+          targetdir = os.path.join(mandir, lang, "man6")
+          env.Alias('install-wesnothd',
+               wesnothd_env.Install(targetdir, [
+               os.path.join(sourcedir, "wesnothd.6"),
+               ]))
 if not access(fifodir, F_OK):
     wesnothd_env.AddPostAction(install_wesnothd, [
         Mkdir(fifodir),




Related Messages


Powered by MHonArc, Updated Sun Mar 30 14:41:42 2008