diff options
author | mdejong <mdejong@noemail.net> | 2001-06-27 02:06:13 (GMT) |
---|---|---|
committer | mdejong <mdejong@noemail.net> | 2001-06-27 02:06:13 (GMT) |
commit | af2d839330cb8c78643c14f1f4dc9a7e65eb826c (patch) | |
tree | b554970465d2c9a1cc3dee5cdc116eee46e51d0e /win | |
parent | 59f81f1a61720892206b75d0121cbf1820b548ea (diff) | |
download | tk-af2d839330cb8c78643c14f1f4dc9a7e65eb826c.zip tk-af2d839330cb8c78643c14f1f4dc9a7e65eb826c.tar.gz tk-af2d839330cb8c78643c14f1f4dc9a7e65eb826c.tar.bz2 |
* unix/Makefile.in:
* win/Makefile.in: Add `make shell` target. This target
will set the proper env vars before invoking wish
from the build directory.
FossilOrigin-Name: dbe847845b323099b04124b4b5f8975f6435644e
Diffstat (limited to 'win')
-rw-r--r-- | win/Makefile.in | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/win/Makefile.in b/win/Makefile.in index 0a240d2..b0e3531 100644 --- a/win/Makefile.in +++ b/win/Makefile.in @@ -4,7 +4,7 @@ # "autoconf" program (constructs like "@foo@" will get replaced in the # actual Makefile. # -# RCS: @(#) $Id: Makefile.in,v 1.37 2001/06/22 23:59:48 mdejong Exp $ +# RCS: @(#) $Id: Makefile.in,v 1.38 2001/06/27 02:06:13 mdejong Exp $ TCLVERSION = @TCL_VERSION@ VERSION = @TK_VERSION@ @@ -398,6 +398,14 @@ runtest: tktest PATH="$(PATH):$(TCL_BIN_DIR)"; export PATH; \ ./$(TKTEST) +# This target can be used to run wish from the build directory +# via `make shell` or `make shell SCRIPT=foo.tcl` +shell: $(WISH) + @TCL_LIBRARY="$(TCL_SRC_DIR_NATIVE)/library"; export TCL_LIBRARY; \ + TK_LIBRARY="$(ROOT_DIR_NATIVE)/library"; export TK_LIBRARY; \ + PATH="$(PATH):$(TCL_BIN_DIR)"; export PATH; \ + ./$(WISH) $(SCRIPT) + install: all install-binaries install-libraries install-doc install-demos install-binaries: binaries |