diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2024-04-09 15:23:22 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2024-04-09 15:23:22 (GMT) |
commit | cd2d193b742daad9a3d56ddfc84cf9f4398825a3 (patch) | |
tree | d73482034012a3ea838beca30d4a0af691c478e5 /win/Makefile.in | |
parent | 0c765c1a4e47c8d77a5a798e67bbd6062303791e (diff) | |
download | tcl-cd2d193b742daad9a3d56ddfc84cf9f4398825a3.zip tcl-cd2d193b742daad9a3d56ddfc84cf9f4398825a3.tar.gz tcl-cd2d193b742daad9a3d56ddfc84cf9f4398825a3.tar.bz2 |
Add ability to regenerate tclOOScript.h to Win build
Diffstat (limited to 'win/Makefile.in')
-rw-r--r-- | win/Makefile.in | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/win/Makefile.in b/win/Makefile.in index 856a21c..e71c5f3 100644 --- a/win/Makefile.in +++ b/win/Makefile.in @@ -1109,6 +1109,16 @@ genstubs: "$(GENERIC_DIR_NATIVE)" \ "$(GENERIC_DIR_NATIVE)/tclOO.decls" +$(GENERIC_DIR)/tclOOScript.h: $(TOOL_DIR)/tclOOScript.tcl + @echo "Warning: tclOOScript.h may be out of date." + @echo "Developers may want to run \"make genscript\" to regenerate." + @echo "This warning can be safely ignored, do not report as a bug!" + +genscript: + $(TCL_EXE) "$(ROOT_DIR_NATIVE)/tools/makeHeader.tcl" \ + "$(ROOT_DIR_NATIVE)/tools/tclOOScript.tcl" \ + "$(GENERIC_DIR_NATIVE)/tclOOScript.h" + # # 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 @@ -1137,7 +1147,7 @@ html-tk: $(TCLSH) .PHONY: install-doc install-private-headers test test-tcl runtest shell .PHONY: gdb depend cleanhelp clean distclean packages install-packages .PHONY: test-packages clean-packages distclean-packages genstubs html -.PHONY: html-tcl html-tk +.PHONY: html-tcl html-tk genscript .PHONY: tclzipfile # DO NOT DELETE THIS LINE -- make depend depends on it. |