summaryrefslogtreecommitdiffstats
path: root/tools/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'tools/Makefile.in')
-rw-r--r--tools/Makefile.in31
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