You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1.2 KiB
36 lines
1.2 KiB
15 years ago
|
#! /usr/bin/env python
|
||
|
|
||
|
"""
|
||
|
help -> scons -h
|
||
|
compile -> scons
|
||
|
clean -> scons -c
|
||
|
install -> scons install
|
||
|
uninstall -> scons -c install
|
||
|
configure -> scons configure prefix=/tmp/ita debug=full extraincludes=/usr/local/include:/tmp/include prefix=/usr/local
|
||
|
|
||
|
Run from a subdirectory -> scons -u
|
||
|
The variables are saved automatically after the first run (look at cache/kde.cache.py, ..)
|
||
|
"""
|
||
|
|
||
|
###################################################################
|
||
|
# LOAD THE ENVIRONMENT AND SET UP THE TOOLS
|
||
|
###################################################################
|
||
|
|
||
|
## Load the builders in config
|
||
|
env = Environment(tools=['default', 'generic', 'kde', 'parser'], toolpath=['./', './bksys'])
|
||
|
env.KDEuse("environ")
|
||
|
|
||
|
#env['DUMPCONFIG']=1
|
||
|
|
||
|
###################################################################
|
||
|
# SCRIPTS FOR BUILDING THE TARGETS
|
||
|
###################################################################
|
||
|
env.set_build_dir('src po', 'build')
|
||
|
env.xmlfile('config.bks')
|
||
|
|
||
|
###################################################################
|
||
|
# CONVENIENCE FUNCTIONS TO EMULATE 'make dist' and 'make distclean'
|
||
|
###################################################################
|
||
|
env.dist('wlassistant', '0.5.7')
|
||
|
|