From 7b6b3a5c4a1ea767c7ba8cb5236f916461e703b9 Mon Sep 17 00:00:00 2001 From: hobbs Date: Wed, 26 Jan 2000 03:38:10 +0000 Subject: * win/makefile.vc: added some support for building helpfile on Windows --- win/makefile.vc | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) 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 # -- cgit v0.12