Reorganize headers again
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
import os
|
||||
Import('env', 'build_type', 'prefix', 'version_info')
|
||||
|
||||
ucore_env = env.Clone()
|
||||
|
||||
#substitute @version_xx@ strings
|
||||
subst_version_info = dict(('@' + key + '@', version_info[key]) for key in version_info)
|
||||
ucore_env.Substfile('ucore_version.c.in', SUBST_DICT = subst_version_info)
|
||||
|
||||
headers = ucore_env.Glob('*.h')
|
||||
|
||||
#install targets
|
||||
|
||||
ucore_env.Alias('install',
|
||||
ucore_env.InstallPerm(os.path.join(prefix, 'include', 'ucore'), headers, 0644))
|
||||
|
||||
Reference in New Issue
Block a user