Tcl Source Code

Artifact [0abbce516d]
Login

Artifact 0abbce516d5b5333a8f8b681ce8d323de0e6cbe6:

Attachment "genstub.patch" to ticket [465874ffff] added by mdejong 2001-09-28 08:10:01.
2001-09-27  Mo DeJong  <[email protected]>

        * unix/Makefile.in:
	* win/Makefile.in:
	Print a message indicating that the user should
	run "make genstub" when the generated tclStubInit.c
	file is out of date. We can't regenerate automatically
	since there may be no tclsh on the system.

Index: unix/Makefile.in
===================================================================
RCS file: /cvsroot/tcl/tcl/unix/Makefile.in,v
retrieving revision 1.83
diff -u -r1.83 Makefile.in
--- unix/Makefile.in	2001/09/10 00:33:09	1.83
+++ unix/Makefile.in	2001/09/28 01:01:23
@@ -1056,8 +1056,7 @@
 
 $(GENERIC_DIR)/tclStubInit.c: $(GENERIC_DIR)/tcl.decls \
 		$(GENERIC_DIR)/tclInt.decls
-	$(TCL_EXE) $(TOOL_DIR)/genStubs.tcl $(GENERIC_DIR) \
-		$(GENERIC_DIR)/tcl.decls $(GENERIC_DIR)/tclInt.decls
+	@echo "You should run \"make genstub\" to regenerate tclStubInit.c"
 
 genstubs:
 	$(TCL_EXE) $(TOOL_DIR)/genStubs.tcl $(GENERIC_DIR) \
Index: win/Makefile.in
===================================================================
RCS file: /cvsroot/tcl/tcl/win/Makefile.in,v
retrieving revision 1.54
diff -u -r1.54 Makefile.in
--- win/Makefile.in	2001/09/14 01:00:59	1.54
+++ win/Makefile.in	2001/09/28 01:01:28
@@ -572,11 +572,7 @@
 
 $(GENERIC_DIR)/tclStubInit.c: $(GENERIC_DIR)/tcl.decls \
 		$(GENERIC_DIR)/tclInt.decls
-	@TCL_LIBRARY="$(ROOT_DIR_NATIVE)/library"; export TCL_LIBRARY; \
-	$(TCLSH) "$(ROOT_DIR_NATIVE)\tools\genStubs.tcl" \
-	    "$(GENERIC_DIR_NATIVE)" \
-	    "$(GENERIC_DIR_NATIVE)\tcl.decls" \
-            "$(GENERIC_DIR_NATIVE)\tclInt.decls"
+	@echo "You should run \"make genstub\" to regenerate tclStubInit.c"
 
 genstubs:
 	@TCL_LIBRARY="$(ROOT_DIR_NATIVE)/library"; export TCL_LIBRARY; \