bindir = os.path.join (prefix, 'bin')
sharedir = os.path.join (prefix, 'share')
libdir = os.path.join (prefix, 'lib')
+libdir_package = os.path.join (libdir, package.name)
+lidbir_package_version = os.path.join (libdir_package, version)
localedir = os.path.join (sharedir, 'locale')
sharedir_doc_package = os.path.join (sharedir, 'doc', package.name)
sharedir_package = os.path.join (sharedir, package.name)
def CheckYYCurrentBuffer (context):
context.Message ('Checking for yy_current_buffer... ')
- ret = conf.TryLink ("""using namespace std;
+ ret = conf.TryCompile ("""using namespace std;
#include <FlexLexer.h>
class yy_flex_lexer: public yyFlexLexer
{
# ugr,huh?
env.Append (LINKFLAGS = ['-Wl,--export-dynamic'])
+# FIXME: ParseConfig ignores -L flag?
+env.Append (LINKFLAGS = ['-L/usr/X11R6/lib'])
if env['verbose']:
env['__verbose'] = ' --verbose'
# os.path.join (absbuild, 'Documentation/user',
# env['out']),
],
- makeinfo_path = ['.', '$srcdir/Documentation/user',
+ MAKEINFO_PATH = ['.', '$srcdir/Documentation/user',
'$absbuild/Documentation/user/$out'],
)
('#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
% vars ())
os.chdir (srcdir)
-if env['debugging']:
+if 1: #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):
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:
- subdirs = ['lily', 'lily/include',
- 'flower', 'flower/include',
+ 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',
+ 'flower',
'kpath-guile',
'mf',
+ 'python',
]
if os.path.isdir ('%(srcdir)s/CVS' % vars ()):