]> git.donarmstrong.com Git - lilypond.git/commitdiff
Remove obsolete builder.
authorJan Nieuwenhuizen <janneke@gnu.org>
Tue, 5 Dec 2006 13:54:44 +0000 (14:54 +0100)
committerJan Nieuwenhuizen <janneke@gnu.org>
Tue, 5 Dec 2006 13:54:44 +0000 (14:54 +0100)
buildscripts/builder.py

index b59962e76c4da4b8153ce7272e07a4fa9a18f235..f41b0dd05c48578f2c9e41811cef68c197482436 100644 (file)
@@ -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})