mail[Wesnoth-commits] r25329 - /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:41:
Author: esr
Date: Sun Mar 30 14:41:42 2008
New Revision: 25329

URL: http://svn.gna.org/viewcvs/wesnoth?rev=25329&view=rev
Log:
Another small refactoring step.

Modified:
    trunk/SConstruct

Modified: trunk/SConstruct
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/SConstruct?rev=25329&r1=25328&r2=25329&view=diff
==============================================================================
--- trunk/SConstruct (original)
+++ trunk/SConstruct Sun Mar 30 14:41:42 2008
@@ -964,7 +964,7 @@
     clientside_env.Install(os.path.join(mandir, "man6"), 
"doc/man/wesnoth_editor.6"),
     ])
 # Localized man pages
-for lang in filter(lambda dir: dir != ".svn", os.listdir("doc/man")):
+for lang in filter(CopyFilter, os.listdir("doc/man")):
      sourcedir = os.path.join("doc/man", lang)
      if os.path.isdir(sourcedir):
           targetdir = os.path.join(mandir, lang, "man6")
@@ -1005,9 +1005,9 @@
 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"):
+for lang in filter(CopyFilter, os.listdir("doc/man")):
      sourcedir = os.path.join("doc/man", lang)
-     if os.path.isdir(sourcedir) and CopyFilter(sourcedir):
+     if os.path.isdir(sourcedir):
           targetdir = os.path.join(mandir, lang, "man6")
           env.Alias('install-wesnothd',
                wesnothd_env.Install(targetdir, [




Related Messages


Powered by MHonArc, Updated Sun Mar 30 15:42:45 2008