]> git.donarmstrong.com Git - lilypond.git/commitdiff
* lily/SConscript: Remove ttftools.
authorJan Nieuwenhuizen <janneke@gnu.org>
Wed, 19 Oct 2005 13:24:08 +0000 (13:24 +0000)
committerJan Nieuwenhuizen <janneke@gnu.org>
Wed, 19 Oct 2005 13:24:08 +0000 (13:24 +0000)
* SConstruct: Resurrect.

ChangeLog
SConstruct
lily/SConscript

index 648279df67a06f35deaa1c862894c563dd2238da..fb0a60d6c7689627e2c7ba7bb597b46088245c27 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-10-19  Jan Nieuwenhuizen  <janneke@gnu.org>
+
+       * lily/SConscript: Remove ttftools.
+
+       * SConstruct: Resurrect.
+
 2005-10-19  Han-Wen Nienhuys  <hanwen@xs4all.nl>
 
        * lily/tuplet-bracket.cc (print): use dy iso. positions[RIGHT] for
index d4c847f046c6834d1fbb2f8ce8a683b86f6bfe9d..0729477220692b952b88f0ce5bce4dc47f190503 100644 (file)
@@ -676,8 +676,9 @@ env.Append (
        PSPDF_FLAGS = ['-sPAPERSIZE=$DVIPS_PAPERSIZE'],
        )
 
+env.Append (CCFLAGS = ['-pipe', '-Wno-pmf-conversions'])
 if env['debugging']:
-       env.Append (CCFLAGS = ['-g', '-pipe'])
+       env.Append (CCFLAGS = ['-g'])
 if env['optimising']:
        env.Append (CCFLAGS = '-O2')
        env.Append (CXXFLAGS = ['-DSTRING_UTILS_INLINED'])
@@ -755,10 +756,10 @@ env.Append (
 
        # FIXME: move to lily/SConscript?
        LIBPATH = [os.path.join (absbuild, 'flower', env['out']),
-                  os.path.join (absbuild, 'kpath-guile', env['out']),
-                  os.path.join (absbuild, 'ttftool', env['out']),],
+                  os.path.join (absbuild, 'kpath-guile', env['out']),],
        CPPPATH = [outdir, ],
-       LILYPOND_PATH = ['.', '$srcdir/input',
+       LILYPOND_PATH = ['.',
+                        '$srcdir/input',
                         '$srcdir/input/regression',
                         '$srcdir/input/test',
                         '$srcdir/input/tutorial',
@@ -769,7 +770,7 @@ env.Append (
 #                       os.path.join (absbuild, 'Documentation/user',
 #                                     env['out']),
                         ],
-       MAKEINFO_PATH = ['.', '$srcdir/Documentation/user',
+       makeinfo_path = ['.', '$srcdir/Documentation/user',
                         '$absbuild/Documentation/user/$out'],
        )
 
@@ -837,10 +838,10 @@ def symlink_tree (target, source, env):
              ('#scm',       'share/lilypond/%(ver)s/scm'),
              ('#scripts',   'share/lilypond/%(ver)s/scripts'),
              ('#ps',        'share/lilypond/%(ver)s/ps'),
-             ('po/@/nl.mo', 'share/locale/nl/LC_MESSAGES/lilypond.mo'),
+             ('po/@/nl.mo', 'share/locale/nl/lc_messages/lilypond.mo'),
              ('elisp',      'share/lilypond/%(ver)s/elisp')))
 
-       print "FIXME: BARF BARF BARF"
+       print "fixme: barf barf barf"
        os.chdir (absbuild)
        out = env['out']
        ver = version
@@ -857,9 +858,9 @@ def symlink_tree (target, source, env):
 
 if env['debugging']:
        stamp = os.path.join (run_prefix, 'stamp')
-       env.Command (stamp, ['#/SConstruct', '#/VERSION'],
-                    [symlink_tree, 'touch $TARGET'])
-       env.Depends ('lily', stamp)
+       env.command (stamp, ['#/SConstruct', '#/VERSION'],
+                    [symlink_tree, 'touch $target'])
+       env.depends ('lily', stamp)
        
 #### dist, tar
 def plus (a, b):
@@ -872,18 +873,20 @@ def cvs_entry_is_file (line):
        return line[0] == '/' and line[-2] == '/'
 
 def cvs_dirs (dir):
-       ENTRIES = os.path.join (dir, 'CVS/Entries')
-       if not os.path.exists (ENTRIES):
+       entries = os.path.join (dir, 'CVS/Entries')
+       if not os.path.exists (entries):
                return []
-       entries = open (ENTRIES).readlines ()
+       entries = open (entries).readlines ()
        dir_entries = filter (cvs_entry_is_dir, entries)
        dirs = map (lambda x: os.path.join (dir, x[2:x[2:].index ('/')+3]),
                    dir_entries)
        return dirs + map (cvs_dirs, dirs)
 
 def cvs_files (dir):
-       ENTRIES = os.path.join (dir, 'CVS/Entries')
-       entries = open (ENTRIES).readlines ()
+       entries = os.path.join (dir, 'CVS/Entries')
+       if not os.path.exists (entries):
+               return []
+       entries = open (entries).readlines ()
        file_entries = filter (cvs_entry_is_file, entries)
        files = map (lambda x: x[1:x[1:].index ('/')+1], file_entries)
        return map (lambda x: os.path.join (dir, x), files)
@@ -906,15 +909,14 @@ else:
        subdirs = string.split (os.popen (command).read ())
 
 if env['fast']\
-   and 'all' not in COMMAND_LINE_TARGETS\
-   and 'doc' not in COMMAND_LINE_TARGETS\
-   and 'web' not in COMMAND_LINE_TARGETS\
-   and 'install' not in COMMAND_LINE_TARGETS\
-   and 'clean' not in COMMAND_LINE_TARGETS:
+   and 'all' not in command_line_targets\
+   and 'doc' not in command_line_targets\
+   and 'web' not in command_line_targets\
+   and 'install' not in command_line_targets\
+   and 'clean' not in command_line_targets:
        subdirs = ['lily', 'lily/include',
                   'flower', 'flower/include',
                   'kpath-guile',
-                  'ttftool',
                   'mf',
                   ]
 
index 5f81126764262081fdd4b507a9430b70dbfd26a3..46568d4c18c47d81468798609f870cc3f5b96a23 100644 (file)
@@ -15,10 +15,9 @@ e.Append (
          '#/lily/include',
          '#/flower/include',
          '#/kpath-guile/include',
-         '#/ttftool/include',
          outdir],
        LEXFLAGS = ['-Cfe', '-p', '-p'],
-       LIBS = ['flower', 'ttftool', 'kpath-guile'],
+       LIBS = ['flower', 'kpath-guile'],
        )
 
 e.HH ('parser.hh', 'parser.yy')