Description: |
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
|