diff options
Diffstat (limited to 'unix')
-rw-r--r-- | unix/Makefile.in | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/unix/Makefile.in b/unix/Makefile.in index 489738e..0719826 100644 --- a/unix/Makefile.in +++ b/unix/Makefile.in @@ -5,7 +5,7 @@ # "autoconf" program (constructs like "@foo@" will get replaced in the # actual Makefile. # -# RCS: @(#) $Id: Makefile.in,v 1.51 2001/06/22 23:59:48 mdejong Exp $ +# RCS: @(#) $Id: Makefile.in,v 1.52 2001/06/27 02:06:13 mdejong Exp $ # Current Tk version; used in various names. @@ -454,6 +454,18 @@ runtest: tktest TK_LIBRARY=@TK_SRC_DIR@/library; export TK_LIBRARY; \ ./tktest +# This target can be used to run wish from the build directory +# via `make shell` or `make shell SCRIPT=/tmp/foo.tcl` +shell: wish + LD_LIBRARY_PATH=`pwd`:${TCL_BIN_DIR}:${LD_LIBRARY_PATH}; \ + export LD_LIBRARY_PATH; \ + LIBPATH=`pwd`:${TCL_BIN_DIR}:${LIBPATH}; export LIBPATH; \ + SHLIB_PATH=`pwd`:${TCL_BIN_DIR}:${SHLIB_PATH}; \ + export SHLIB_PATH; \ + TCL_LIBRARY=@TCL_SRC_DIR@/library; export TCL_LIBRARY; \ + TK_LIBRARY=@TK_SRC_DIR@/library; export TK_LIBRARY; \ + ./wish $(SCRIPT) + install: all install-binaries install-libraries install-demos install-doc # Note: before running ranlib below, must cd to target directory because |