summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhobbs <hobbs@noemail.net>2000-01-26 03:38:10 (GMT)
committerhobbs <hobbs@noemail.net>2000-01-26 03:38:10 (GMT)
commitc2eb8874372076fe197d6322021de5ffbdd42829 (patch)
treec413e2db429cecf367937cf6a5dcab41cc9fc02c
parent7872d738c289b10f354aff5c1e1772f481e6b23d (diff)
downloadtcl-c2eb8874372076fe197d6322021de5ffbdd42829.zip
tcl-c2eb8874372076fe197d6322021de5ffbdd42829.tar.gz
tcl-c2eb8874372076fe197d6322021de5ffbdd42829.tar.bz2
* win/makefile.vc: added some support for building helpfile on Windows
FossilOrigin-Name: bfb0850affd7fb5e595005eee52302e6d5a943fe
-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
#