Changeset 211 for trunk/SConstruct
- Timestamp:
- 03/21/11 00:06:27 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SConstruct
r203 r211 1 import sys 2 import distutils.sysconfig 3 1 4 #cflags = '-std=gnu99 -pedantic -Wall' 2 5 cflags = '-std=gnu99 -pedantic -Wall -fvisibility=hidden -ggdb' … … 43 46 env.Install(prefix+'bin', [reglookup, reglookup_recover, 'bin/reglookup-timeline']) 44 47 env.Install(prefix+'lib', [libregfi, libregfi_static]) 48 env.Install(distutils.sysconfig.get_python_lib()+'/pyregfi', ['python/pyregfi/__init__.py', 'python/pyregfi/structures.py']) 45 49 env.Install(prefix+'include/regfi', Glob('include/*.h')) 46 50 env.Install(prefix+'man/man1', [man_reglookup, man_reglookup_recover, 47 51 man_reglookup_timeline]) 48 52 53 # Could do this instead, but not sure how to ensure cleanup afterward. 54 #from distutils.core import setup 55 #setup(name='pyregfi', version='0.1', package_dir={'':'python'}, packages=['pyregfi']) 49 56 50 57 # User Friendly Targets 51 58 env.Alias('libregfi', libregfi) 59 env.Alias('pyregfi', distutils.sysconfig.get_python_lib()+'/pyregfi') 52 60 env.Alias('reglookup', reglookup) 53 61 env.Alias('reglookup-recover', reglookup_recover) … … 57 65 prefix+'lib', 58 66 prefix+'include/regfi', 67 distutils.sysconfig.get_python_lib()+'/pyregfi', 59 68 prefix+'man']) 60 69
Note: See TracChangeset
for help on using the changeset viewer.