Changeset 246


Ignore:
Timestamp:
04/30/11 16:28:19 (13 years ago)
Author:
tim
Message:

cleanups and updated installation documentation

Files:
2 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • releases/0.99.0/INSTALL

    r144 r246  
    55-------------
    66
    7 This package doesn't require much for installation.  Just what typically
    8 comes with any free operating system.  Be sure you have:
     7RegLookup and its associated libraries have the following build dependencies:
    98
    10  - GNU Make
     9 - SCons (package "scons" in most popular distributions or from http://www.scons.org/)
    1110 - GCC
     11 - talloc 2.x (under Debian, "libtalloc2" and "libtalloc-dev")
     12 - Python 2 (2.6+) or Python 3  (Python is required for SCons anyway)
     13 - Doxygen (optional, only needed to build developer documentation)
    1214
    1315Note that iconv support is required, as specified in IEEE Std 1003.1
     
    2022-----------------
    2123
    22 make
     24scons
    2325# and as root
    24 make install
    25 
    26 If GNU Make isn't your default, you may need to run `gmake' instead.
     26scons install
    2727
    2828
    2929Advanced Installation
    3030---------------------
    31 To install in a custom directory, simply change one or more of the
    32 following make variables to suit your needs:
     31By default, most RegLookup files are installed in the appropriate
     32directories under /usr/local.  In order to override this behavior, set
     33the PREFIX environment variable to the desired path.  For example:
    3334
    34  PREFIX      Top level install directory.  Used as base for rest unless
    35              they too are overridden. (This defaults to /usr/local)
    36 
    37  BIN_PREFIX  Location for executable programs to be installed.
    38 
    39  DOC_PREFIX  Location for documentation.
    40 
    41  MAN_PREFIX  A path in the MANPATH.
    42 
    43 
    44 Use the following syntax (with GNU Make) to override a variable:
    45 
    46 # as root
    47 make VAR=value install
    48 
    49 
    50 For more information, see the Makefiles.
    51 
    52 Primitive build features have been added to support cross-compiling to
    53 Windows binaries using MinGW.  For more information on this, see:
    54   doc/mingw-build.txt
     35$ PREFIX=/home/myuser/reglookup scons install
  • trunk/INSTALL

    r144 r246  
    55-------------
    66
    7 This package doesn't require much for installation.  Just what typically
    8 comes with any free operating system.  Be sure you have:
     7RegLookup and its associated libraries have the following build dependencies:
    98
    10  - GNU Make
     9 - SCons (package "scons" in most popular distributions or from http://www.scons.org/)
    1110 - GCC
     11 - talloc 2.x (under Debian, "libtalloc2" and "libtalloc-dev")
     12 - Python 2 (2.6+) or Python 3  (Python is required for SCons anyway)
     13 - Doxygen (optional, only needed to build developer documentation)
    1214
    1315Note that iconv support is required, as specified in IEEE Std 1003.1
     
    2022-----------------
    2123
    22 make
     24scons
    2325# and as root
    24 make install
    25 
    26 If GNU Make isn't your default, you may need to run `gmake' instead.
     26scons install
    2727
    2828
    2929Advanced Installation
    3030---------------------
    31 To install in a custom directory, simply change one or more of the
    32 following make variables to suit your needs:
     31By default, most RegLookup files are installed in the appropriate
     32directories under /usr/local.  In order to override this behavior, set
     33the PREFIX environment variable to the desired path.  For example:
    3334
    34  PREFIX      Top level install directory.  Used as base for rest unless
    35              they too are overridden. (This defaults to /usr/local)
    36 
    37  BIN_PREFIX  Location for executable programs to be installed.
    38 
    39  DOC_PREFIX  Location for documentation.
    40 
    41  MAN_PREFIX  A path in the MANPATH.
    42 
    43 
    44 Use the following syntax (with GNU Make) to override a variable:
    45 
    46 # as root
    47 make VAR=value install
    48 
    49 
    50 For more information, see the Makefiles.
    51 
    52 Primitive build features have been added to support cross-compiling to
    53 Windows binaries using MinGW.  For more information on this, see:
    54   doc/mingw-build.txt
     35$ PREFIX=/home/myuser/reglookup scons install
  • trunk/SConstruct

    r238 r246  
    4545# Installation
    4646prefix='/usr/local/'
     47if 'PREFIX' in os.environ:
     48   prefix = os.environ['PREFIX']+'/'
     49
    4750install_items = [prefix+'bin',
    4851                 prefix+'lib',
Note: See TracChangeset for help on using the changeset viewer.