From: Jan Nieuwenhuizen Date: Tue, 5 Dec 2006 13:54:44 +0000 (+0100) Subject: Remove obsolete builder. X-Git-Tag: release/2.11.2-1~61^2~1 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=4130cd12db9e68401f34e471089219fdd4d711d0;p=lilypond.git Remove obsolete builder. --- diff --git a/buildscripts/builder.py b/buildscripts/builder.py index b59962e76c..f41b0dd05c 100644 --- a/buildscripts/builder.py +++ b/buildscripts/builder.py @@ -278,21 +278,6 @@ def at_copy (target, source, env): AT_COPY = Builder (action = at_copy, src_suffix = ['.in', '.py', '.sh',]) env.Append (BUILDERS = {'AT_COPY': AT_COPY}) -def at_copy_ext (target, source, env): - n = str (source[0]) - s = open (n).read () - for i in atvars: - if env.has_key (i): - s = string.replace (s, '@%s@'% i, env[i]) - # whugh - e = os.path.splitext (n)[1] - t = str (target[0]) + e - open (t, 'w').write (s) - -AT_COPY_EXT = Builder (action = at_copy_ext, src_suffix = ['.py', '.sh',]) -env.Append (BUILDERS = {'AT_COPY_EXT': AT_COPY_EXT}) - - MO = Builder (action = 'msgfmt -o $TARGET $SOURCE', suffix = '.mo', src_suffix = '.po') env.Append (BUILDERS = {'MO': MO})