Author: bugman
Date: Thu Oct 12 06:02:01 2006
New Revision: 2618

URL: http://svn.gna.org/viewcvs/relax?rev=2618&view=rev
Log:
A number of large changes to the Scons system.

The package initialisation file '__init__.py' has been added to the 'scons' 
directory.

The 'sconstruct' script has been split in half.  The script was copied to 
'scons/manuals.py' and
only the manual compilation functions remain in this file.  The class structure 
has been eliminated
from 'scons/manuals.py' so 'sconstruct' now imports each function from this 
module.  This means that
4 spaces have been removed from the indentation.  All the manual compilation 
Environment setups,
custom BUILDERS actions, and Depends statements have been shifted to the 
'self.__init__()' function
of the 'sconstruct' script.

The default values of None for the target functions have been removed as they 
are always passed to
the functions.  For example
  def dummy(self, target=None, source=None, env=None):
has been changed to
  def dummy(self, target, source, env):

Environmental variables such as LATEX_DIR, SYSTEM, BIN_PATH, etc. (all the 
variables created in
'self.paths()') are now placed in the Scons Build Environments.  The 
Environment is passed into each
function as 'env' so the variables are accessed by typing, for example, 
env['LATEX_DIR'].  The
variable 'self.system' has been renamed to 'self.SYSTEM'.

The 'self.gpg_bin_sign()' and 'self.gpg_src_sign()' target functions have been 
merged into the
single function 'self.gpg_sign()'.


Added:
    1.2/scons/__init__.py
      - copied, changed from r2610, 1.2/docs/__init__.py
    1.2/scons/manuals.py
      - copied, changed from r2610, 1.2/sconstruct
Modified:
    1.2/sconstruct

[This mail would be too long, it was shortened to contain the URLs only.]

Copied: 1.2/scons/__init__.py (from r2610, 1.2/docs/__init__.py)
URL: 
http://svn.gna.org/viewcvs/relax/1.2/scons/__init__.py?p2=1.2/scons/__init__.py&p1=1.2/docs/__init__.py&r1=2610&r2=2618&rev=2618&view=diff

Copied: 1.2/scons/manuals.py (from r2610, 1.2/sconstruct)
URL: 
http://svn.gna.org/viewcvs/relax/1.2/scons/manuals.py?p2=1.2/scons/manuals.py&p1=1.2/sconstruct&r1=2610&r2=2618&rev=2618&view=diff

Modified: 1.2/sconstruct
URL: 
http://svn.gna.org/viewcvs/relax/1.2/sconstruct?rev=2618&r1=2617&r2=2618&view=diff


_______________________________________________
relax (http://nmr-relax.com)

This is the relax-commits mailing list
relax-commits@gna.org

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits

Reply via email to