diff options
Diffstat (limited to 'tools/Makefile.in')
-rw-r--r-- | tools/Makefile.in | 49 |
1 files changed, 33 insertions, 16 deletions
diff --git a/tools/Makefile.in b/tools/Makefile.in index b0f2fc8..8de979f 100644 --- a/tools/Makefile.in +++ b/tools/Makefile.in @@ -6,14 +6,18 @@ # # HTML: 1. Build the html target on Unix -# SCCS: @(#) Makefile.in 1.2 97/01/28 18:58:31 +# RCS: @(#) $Id: Makefile.in,v 1.1.2.2 1998/09/24 23:59:40 stanton Exp $ -TCL = tcl@TCL_VERSION@@TCL_PATCH_LEVEL@ -TK = tk@TCL_VERSION@@TCL_PATCH_LEVEL@ +#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_DOCS = \ $(TCL_SOURCE)/doc/*.[13n] @@ -21,29 +25,42 @@ TCL_DOCS = \ TK_DOCS = \ $(TK_SOURCE)/doc/*.[13n] +PRO_DOCS = \ + $(PRO_SOURCE)/doc/man/*.[13n] + +ITCL_DOCS = \ + $(ITCL_SOURCE)/itcl/doc/*.[13n] \ + $(ITCL_SOURCE)/itk/doc/*.[13n] + +# $(ITCL_SOURCE)/iwidgets3.0.0/doc/*.[13n] + +COREDOCS = $(TCL_DOCS) $(TK_DOCS) +PRODOCS = $(COREDOCS) $(PRO_DOCS) $(ITCL_DOCS) TCLSH = $(TCL_SOURCE)/unix/tclsh +CC=@CC@ + +all: core +pro: + $(MAKE) PRODOCS="$(PRODOCS)" VER="" rtf -all: winhelp +core: + $(MAKE) DOCS="$(COREDOCS)" rtf + +rtf: man2help.tcl man2tcl $(DOCS) + LD_LIBRARY_PATH=$(TCL_SOURCE)/unix \ + $(TCLSH) man2help.tcl tcl "$(VER)" $(DOCS) winhelp: tcl.rtf -html: tcl$(VER).html man2tcl: man2tcl.c $(CC) $(CFLAGS) -o man2tcl man2tcl.c -tcl.rtf: man2help.tcl man2tcl $(TCL_DOCS) $(TK_DOCS) - $(TCLSH) man2help.tcl tcl $(VER) \ - $(TCL_SOURCE)/doc $(TK_SOURCE)/doc - -tcl$(VER).html: man2html.tcl man2tcl $(TCL_DOCS) $(TK_DOCS) - $(TCLSH) man2html.tcl tcl$(VER).html \ - ../.. ${TCL} ${TK} - clean: - -rm -f man2tcl *.o tcl$(VER).cnt tcl$(VER).rtf + -rm -f man2tcl *.o *.cnt *.rtf helpfile: - hc31 tcl.hpj - mv tcl.hlp tcl$(VER).hlp + hcw /c tcl.hpj + +# mv tcl.hlp tcl$(VER).hlp |