Changeset 280


Ignore:
Timestamp:
06/06/15 18:38:38 (10 years ago)
Author:
tim
Message:

breaking up install targets

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SConstruct

    r279 r280  
    5858mandir     = os.environ.get('MANDIR', prefix + 'man')
    5959
    60 install_items = [destdir + bindir,
    61                  destdir + libdir,
    62                  destdir + includedir + '/regfi',
    63                  destdir + mandir]
    64 
     60install_bin = [destdir + bindir, destdir + mandir]
     61install_lib = [destdir + libdir, destdir + includedir + '/regfi']
    6562
    6663env.Install(destdir+bindir, [reglookup, reglookup_recover, 'bin/reglookup-timeline'])
     
    7370   env.AddPostAction(libinstall, 'ldconfig')
    7471
     72install_pyregfi = []
    7573if sys.version_info[0] == 2:
    76    install_items.append('pyregfi2-install.log')
     74   install_pyregfi.append('pyregfi2-install.log')
    7775   env.Command('pyregfi2-install.log', ['python/pyregfi/__init__.py',
    7876                                        'python/pyregfi/structures.py',
     
    8280python_path = os.popen('which python3').read()
    8381if python_path != '':
    84    install_items.append('pyregfi3-install.log')
     82   install_pyregfi.append('pyregfi3-install.log')
    8583   env.Command('pyregfi3-install.log', ['python/pyregfi/__init__.py',
    8684                                        'python/pyregfi/structures.py',
     
    9694                          'doxygen doc/devel/Doxyfile.pyregfi')
    9795
     96install_items = install_bin + install_lib + install_pyregfi
    9897
    9998# User Friendly Targets
     
    104103env.Alias('doc', [man_reglookup,man_reglookup_recover,man_reglookup_timeline])
    105104env.Alias('doc-devel', [regfi_doc, pyregfi_doc])
     105env.Alias('install_bin', install_bin)
     106env.Alias('install_lib', install_lib)
     107env.Alias('install_pyregfi', install_pyregfi)
    106108env.Alias('install', install_items)
    107109
Note: See TracChangeset for help on using the changeset viewer.