summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorhobbs <hobbs>2000-01-26 03:38:10 (GMT)
committerhobbs <hobbs>2000-01-26 03:38:10 (GMT)
commit7b6b3a5c4a1ea767c7ba8cb5236f916461e703b9 (patch)
treec413e2db429cecf367937cf6a5dcab41cc9fc02c /win
parent83cc84e37ef119daa5e1134aec6ce159a68799cb (diff)
downloadtcl-7b6b3a5c4a1ea767c7ba8cb5236f916461e703b9.zip
tcl-7b6b3a5c4a1ea767c7ba8cb5236f916461e703b9.tar.gz
tcl-7b6b3a5c4a1ea767c7ba8cb5236f916461e703b9.tar.bz2
* win/makefile.vc: added some support for building helpfile on Windows
Diffstat (limited to 'win')
-rw-r--r--win/makefile.vc25
1 files changed, 24 insertions, 1 deletions
diff --git a/win/makefile.vc b/win/makefile.vc
index 26e5019..ffc192c 100644
--- a/win/makefile.vc
+++ b/win/makefile.vc
@@ -6,7 +6,7 @@
# Copyright (c) 1995-1996 Sun Microsystems, Inc.
# Copyright (c) 1998-1999 by Scriptics Corporation.
#
-# RCS: @(#) $Id: makefile.vc,v 1.47 2000/01/24 02:30:39 hobbs Exp $
+# RCS: @(#) $Id: makefile.vc,v 1.48 2000/01/26 03:38:10 hobbs Exp $
# Does not depend on the presence of any environment variables in
# order to compile tcl; all needed information is derived from
@@ -412,6 +412,29 @@ genstubs:
$(GENERICDIR)\tcl.decls $(GENERICDIR)\tclInt.decls
#
+# Regenerate the windows help files.
+#
+
+TCLTOOLS = $(ROOT)/tools
+MAN2TCL = $(TCLTOOLS)/man2tcl
+TCLRTF = $(TCLTOOLS)/tcl.rtf
+TCLHPJ = $(TCLTOOLS)/tcl.hpj
+MAN2HELP = $(TCLTOOLS)/man2help.tcl
+HCRTF = $(TOOLS32)/bin/hcrtf.exe
+
+winhelp: $(TCLRTF)
+ cd $(TCLTOOLS)
+ start /wait $(HCRTF) -xn $(TCLHPJ)
+
+$(MAN2TCL).exe: $(MAN2TCL).obj
+ cd $(TCLTOOLS)
+ $(cc32) /nologo /G4 /ML /O2 $(MAN2TCL).c
+
+$(TCLRTF): $(MAN2TCL).exe $(TCLSH)
+ cd $(TCLTOOLS)
+ ..\win\$(TCLSH) $(MAN2HELP) $(NAMEPREFIX) $(VERSION) $(ROOT)/doc ../../tk$(DOTVERSION)/doc
+
+#
# Special case object file targets
#