Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: dd1bb56f485286c3d4b760f86603b7c9edac584f
Ticket: 1083290fffffffffffffffffffffffffffffffff
Refactor library setup for local tclsh into script
User & Date: davidw on 2004-12-11 00:33:21
Changes

  1. assignee changed to: "mdejong"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Hi,
    
    I was thinking - would it be possible to refactor some of
    the targets that launch the local tclsh into a shell
    script?
    
    In several places in the Makefile.in there is code like:
    
    LD_LIBRARY_PATH=`pwd`:; export LD_LIBRARY_PATH; \
    TCL_LIBRARY="/home/davidw/workshop/tcl/library"; export
    TCL_LIBRARY;
    
    It would be nice to factor this out into a shell script
    that then launches whatever commands are given to it,
    via $@.
    
    This would have two advantages:
    
    1) Reducing the code size ever so slightly.
    
    2) Improving flexibility by making it easy to run
    whatever one wants from a shell script instead of being
    required to invoke make with funny args.
    
    3) Making the script easy to find for casual hackers. 
    The Makefile targets are not as evident to the casual
    observer in my opinion.
    
    Thanks
    Dave
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "davidw"
  9. subsystem changed to: "53. Configure and Build Tools"
  10. title changed to: "Refactor library setup for local tclsh into script"
  11. type changed to: "RFE"