]> git.donarmstrong.com Git - lilypond.git/blobdiff - buildscripts/builder.py
Merge branch 'jneeman' of git+ssh://jneem@git.sv.gnu.org/srv/git/lilypond into jneeman
[lilypond.git] / buildscripts / builder.py
index cf3493fa726006ff267ce2dbe714601ede237856..f41b0dd05c48578f2c9e41811cef68c197482436 100644 (file)
@@ -166,8 +166,7 @@ def add_tfm_target (target, source, env):
 
 def add_lisp_enc_tex_ly_target (target, source, env):
     base = os.path.splitext (str (target[0]))[0]
-    return (target + [base + '.lisp', base + '.enc', base + '.tex',
-             base + 'list.ly'],
+    return (target + [base + '.lisp', base + '.enc', base + '.tex'],
         source)
 
 def add_cff_cffps_svg (target, source, env):
@@ -191,7 +190,6 @@ a = '$PYTHON $MF_TO_TABLE_PY \
 --enc=${TARGET.base}.enc \
 --tex=${TARGET.base}.tex \
 ${TARGET.base}.log'
-#--ly=${TARGET.base}list.ly \
 gtable = Builder (action = a, suffix = '.otf-gtable', src_suffix = '.log',
          emitter = add_lisp_enc_tex_ly_target)
 env.Append (BUILDERS = {'GTABLE': gtable})
@@ -280,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})