summaryrefslogtreecommitdiffstats
path: root/tools/Makefile.in
diff options
context:
space:
mode:
authorstanton <stanton>1999-02-19 02:17:03 (GMT)
committerstanton <stanton>1999-02-19 02:17:03 (GMT)
commitc1ea1fac3d9e8068d1921cfc1dad655ef1d5af0c (patch)
treeb1b4dcd6e9dcb6e96d963958d8c2ddfd81ebac91 /tools/Makefile.in
parente1245c0d82dfcaa61d1280333b2c66472ced5d32 (diff)
downloadtcl-c1ea1fac3d9e8068d1921cfc1dad655ef1d5af0c.zip
tcl-c1ea1fac3d9e8068d1921cfc1dad655ef1d5af0c.tar.gz
tcl-c1ea1fac3d9e8068d1921cfc1dad655ef1d5af0c.tar.bz2
changed so helpfile generation can work from the build environment
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..64c6294 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.6.2.1 1999/02/19 02:17:04 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