diff options
author | stanton <stanton> | 1999-02-19 02:14:56 (GMT) |
---|---|---|
committer | stanton <stanton> | 1999-02-19 02:14:56 (GMT) |
commit | 8b366d83a2f91972947f05b4b206d8d9f7af940a (patch) | |
tree | 68b2e0d3a964b96c9c6d8dccd7d8a96f26a78a5b /tools/Makefile.in | |
parent | 016e252a68278aa62a4fbab8f3632fecb6958765 (diff) | |
download | tcl-8b366d83a2f91972947f05b4b206d8d9f7af940a.zip tcl-8b366d83a2f91972947f05b4b206d8d9f7af940a.tar.gz tcl-8b366d83a2f91972947f05b4b206d8d9f7af940a.tar.bz2 |
changed so helpfile generation can work from the build environment
Diffstat (limited to 'tools/Makefile.in')
-rw-r--r-- | tools/Makefile.in | 31 |
1 files changed, 14 insertions, 17 deletions
diff --git a/tools/Makefile.in b/tools/Makefile.in index 3a3feec..b44ace0 100644 --- a/tools/Makefile.in +++ b/tools/Makefile.in @@ -6,18 +6,17 @@ # # HTML: 1. Build the html target on Unix -# RCS: @(#) $Id: Makefile.in,v 1.6 1999/02/05 03:12:50 stanton Exp $ +# RCS: @(#) $Id: Makefile.in,v 1.7 1999/02/19 02:14:56 stanton Exp $ -#TCL = tcl@TCL_VERSION@@TCL_PATCH_LEVEL@ -#TK = tk@TCL_VERSION@@TCL_PATCH_LEVEL@ TCL = tcl@TCL_VERSION@ TK = tk@TCL_VERSION@ VER=@TCL_WIN_VERSION@ -TCL_SOURCE = @srcdir@/.. -TK_SOURCE = @srcdir@/../../$(TK) -PRO_SOURCE = @srcdir@/../../pro -ITCL_SOURCE = @srcdir@/../../itcl3.0.1 +TCL_BIN_DIR = @TCL_BIN_DIR@ +TCL_SOURCE = @TCL_SRC_DIR@ +TK_SOURCE = $(TCL_SOURCE)/../$(TK) +PRO_SOURCE = $(TCL_SOURCE)/../pro +ITCL_SOURCE = $(TCL_SOURCE)/../itcl3.0.1 TCL_DOCS = \ $(TCL_SOURCE)/doc/*.[13n] @@ -36,7 +35,7 @@ ITCL_DOCS = \ COREDOCS = $(TCL_DOCS) $(TK_DOCS) PRODOCS = $(COREDOCS) $(PRO_DOCS) $(ITCL_DOCS) -TCLSH = $(TCL_SOURCE)/unix/tclsh +TCLSH = $(TCL_BIN_DIR)/tclsh CC=@CC@ all: core @@ -47,20 +46,18 @@ pro: core: $(MAKE) DOCS="$(COREDOCS)" rtf -rtf: man2help.tcl man2tcl $(DOCS) - LD_LIBRARY_PATH=$(TCL_SOURCE)/unix \ - $(TCLSH) man2help.tcl tcl "$(VER)" $(DOCS) +rtf: $(TCL_SOURCE)/tools/man2help.tcl man2tcl $(DOCS) + LD_LIBRARY_PATH=$(TCL_BIN_DIR) \ + TCL_LIBRARY=$(TCL_SOURCE)/library \ + $(TCLSH) $(TCL_SOURCE)/tools/man2help.tcl tcl "$(VER)" $(DOCS) winhelp: tcl.rtf -man2tcl: man2tcl.c - $(CC) $(CFLAGS) -o man2tcl man2tcl.c +man2tcl: $(TCL_SOURCE)/tools/man2tcl.c + $(CC) $(CFLAGS) -o man2tcl $(TCL_SOURCE)/tools/man2tcl.c clean: -rm -f man2tcl *.o *.cnt *.rtf helpfile: - hcw /c tcl.hpj - -# mv tcl.hlp tcl$(VER).hlp - + hcw /c /e tcl.hpj |