File: SConstruct

package info (click to toggle)
abakus 0.91-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny, squeeze
  • size: 944 kB
  • ctags: 1,245
  • sloc: cpp: 5,498; ansic: 1,414; python: 1,272; yacc: 236; lex: 205; makefile: 27
file content (36 lines) | stat: -rw-r--r-- 1,068 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#! /usr/bin/env python

###################################################################
# LOAD THE ENVIRONMENT AND SET UP THE TOOLS
###################################################################

## Load the builders in config
tools    = [ 'default', 'help', 'generic', 'kde', 'abakus' ]
toolpath = [ './', './bksys' ]

# Required as part of SCons
env = Environment(tools = tools, toolpath = toolpath)

# Pull in some default settings.
env.KDEuse("environ rpath nohelp")
#env.KDEuse("environ rpath lang_qt thread nohelp")

# If we're asking for help just go ahead and exit now.
if env['HELP']:
    print env.helpText()
    Exit()

if env['flex'] and env['bison']:
    env['PARSER_INCLUDED'] = True

# Export the environment so that SConscript files in subdirs can access it.
Export('env')

###################################################################
# SCRIPTS FOR BUILDING THE TARGETS
###################################################################

env.subdirs('src')

env.docfolder('doc/en', 'en', 'abakus/')
env.SConscript('doc/en/SConscript')