diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2008-04-09 21:44:57 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2008-04-09 21:44:57 (GMT) |
commit | e838bdf0780956d1a38698d488f40b5262dc457e (patch) | |
tree | 3ebdbc4f9e77682937b3cccc8cade65b73afa966 /win | |
parent | 2f4dbc92d9400613c34d96550cda0da27404b84d (diff) | |
download | tcl-e838bdf0780956d1a38698d488f40b5262dc457e.zip tcl-e838bdf0780956d1a38698d488f40b5262dc457e.tar.gz tcl-e838bdf0780956d1a38698d488f40b5262dc457e.tar.bz2 |
Added 'make html' support for people on Windows, inspired by Pat Thoyts.
Diffstat (limited to 'win')
-rw-r--r-- | win/Makefile.in | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/win/Makefile.in b/win/Makefile.in index 7d71edf..6bd5e39 100644 --- a/win/Makefile.in +++ b/win/Makefile.in @@ -4,7 +4,7 @@ # "./configure", which is a configuration script generated by the "autoconf" # program (constructs like "@foo@" will get replaced in the actual Makefile. # -# RCS: @(#) $Id: Makefile.in,v 1.125 2008/04/02 04:25:14 dgp Exp $ +# RCS: @(#) $Id: Makefile.in,v 1.126 2008/04/09 21:44:58 dkf Exp $ VERSION = @TCL_VERSION@ @@ -747,3 +747,19 @@ genstubs: "$(GENERIC_DIR_NATIVE)\tcl.decls" \ "$(GENERIC_DIR_NATIVE)\tclInt.decls" \ "$(GENERIC_DIR_NATIVE)\tclTomMath.decls" + +# +# This target creates the HTML folder for Tcl & Tk and places it in +# DISTDIR/html. It uses the tcltk-man2html.tcl tool from the Tcl group's tool +# workspace. It depends on the Tcl & Tk being in directories called tcl8.* & +# tk8.* up two directories from the TOOL_DIR. +# + +TOOL_DIR=$(ROOT_DIR)/tools +HTML_INSTALL_DIR=$(ROOT_DIR)/html +html: + $(MAKE) shell SCRIPT="$(TOOL_DIR)/tcltk-man2html.tcl --htmldir=$(HTML_INSTALL_DIR) --srcdir=$(ROOT_DIR)/.. $(BUILD_HTML_FLAGS)" +html-tcl: $(TCLSH) + $(MAKE) shell SCRIPT="$(TOOL_DIR)/tcltk-man2html.tcl --htmldir=$(HTML_INSTALL_DIR) --srcdir=$(ROOT_DIR)/.. $(BUILD_HTML_FLAGS) --tcl" +html-tk: $(TCLSH) + $(MAKE) shell SCRIPT="$(TOOL_DIR)/tcltk-man2html.tcl --htmldir=$(HTML_INSTALL_DIR) --srcdir=$(ROOT_DIR)/.. $(BUILD_HTML_FLAGS) --tk" |