Changeset 211 for trunk/SConstruct


Ignore:
Timestamp:
03/21/11 00:06:27 (14 years ago)
Author:
tim
Message:

added install targets for pyregfi

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SConstruct

    r203 r211  
     1import sys
     2import distutils.sysconfig
     3
    14#cflags = '-std=gnu99 -pedantic -Wall'
    25cflags = '-std=gnu99 -pedantic -Wall -fvisibility=hidden -ggdb'
     
    4346env.Install(prefix+'bin', [reglookup, reglookup_recover, 'bin/reglookup-timeline'])
    4447env.Install(prefix+'lib', [libregfi, libregfi_static])
     48env.Install(distutils.sysconfig.get_python_lib()+'/pyregfi', ['python/pyregfi/__init__.py', 'python/pyregfi/structures.py'])
    4549env.Install(prefix+'include/regfi', Glob('include/*.h'))
    4650env.Install(prefix+'man/man1', [man_reglookup, man_reglookup_recover,
    4751                                man_reglookup_timeline])
    4852
     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'])
    4956
    5057# User Friendly Targets
    5158env.Alias('libregfi', libregfi)
     59env.Alias('pyregfi', distutils.sysconfig.get_python_lib()+'/pyregfi')
    5260env.Alias('reglookup', reglookup)
    5361env.Alias('reglookup-recover', reglookup_recover)
     
    5765                      prefix+'lib',
    5866                      prefix+'include/regfi',
     67                      distutils.sysconfig.get_python_lib()+'/pyregfi',
    5968                      prefix+'man'])
    6069
Note: See TracChangeset for help on using the changeset viewer.