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.
tdeartwork/asciiquarium/SConstruct

33 lines
1.0 KiB

#! /usr/bin/env python
###################################################################
# LOAD THE ENVIRONMENT AND SET UP THE TOOLS
###################################################################
## Load the builders in config
tools = [ 'default', 'generic', 'kde' ]
toolpath = [ './', './admin' ]
# 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")
# Export the environment so that SConscript files in subdirs can access it.
Export('env')
###################################################################
# SCRIPTS FOR BUILDING THE TARGETS
###################################################################
distClean = env.Action("find %s -name '*.pyc' -exec rm {} \\;" % env.GetLaunchDir())
dist = env.Alias('dist', action = distClean)
env.Alias(dist, action = Delete("%s/cache" % env.GetLaunchDir()))
env.Clean(dist, ['cache'])
env.AlwaysBuild(dist)
env.subdirs('src')