summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authordavygrvy <davygrvy>2002-03-29 03:55:24 (GMT)
committerdavygrvy <davygrvy>2002-03-29 03:55:24 (GMT)
commit9930b1e61c120a5011adf14ac927aca64caddeb6 (patch)
treefd6733d0f4da6b5e5ba825b618849ee1c1e5f828 /win
parent19f8137981f43dd97e8ddf96181a449824541596 (diff)
downloadtk-9930b1e61c120a5011adf14ac927aca64caddeb6.zip
tk-9930b1e61c120a5011adf14ac927aca64caddeb6.tar.gz
tk-9930b1e61c120a5011adf14ac927aca64caddeb6.tar.bz2
small cruft
Diffstat (limited to 'win')
-rw-r--r--win/makefile.vc28
1 files changed, 24 insertions, 4 deletions
diff --git a/win/makefile.vc b/win/makefile.vc
index 86b116a..56a5ee9 100644
--- a/win/makefile.vc
+++ b/win/makefile.vc
@@ -12,7 +12,7 @@
# Copyright (c) 2001-2002 David Gravereaux.
#
#------------------------------------------------------------------------------
-# RCS: @(#) $Id: makefile.vc,v 1.56 2002/03/29 01:27:50 davygrvy Exp $
+# RCS: @(#) $Id: makefile.vc,v 1.57 2002/03/29 03:55:24 davygrvy Exp $
#------------------------------------------------------------------------------
!if "$(MSVCDIR)" == ""
@@ -582,6 +582,22 @@ genstubs:
#---------------------------------------------------------------------
+# Generate the makefile depedancies.
+#---------------------------------------------------------------------
+
+depend:
+!if !exist($(TCLSH))
+ @echo Build tclsh first!
+!else
+ $(TCLSH) $(TOOLSDIR:\=/)/mkdepend.tcl -vc32 -out:"$(OUT_DIR)\depend.mk" \
+ -passthru:"-DBUILD_tcl $(TK_INCLUDES:"="")" $(GENERICDIR) \
+ $(COMPATDIR) $(WINDIR) @<<
+$(TKOBJS)
+<<
+!endif
+
+
+#---------------------------------------------------------------------
# Regenerate the windows help files.
#---------------------------------------------------------------------
@@ -614,7 +630,7 @@ $(HELPFILE): $(HELPRTF) $(BMP)
[OPTIONS]
COMPRESS=12 Hall Zeck
LCID=0x409 0x0 0x0 ; English (United States)
-TITLE=Tcl/Tk Reference Manual
+TITLE=Tk Reference Manual
BMROOT=.
CNT=$(@B).cnt
HLP=$(@B).hlp
@@ -647,13 +663,17 @@ install-docs:
@xcopy /i /y "$(HELPFILE)" "$(DOC_INSTALL_DIR)\"
@xcopy /i /y "$(HELPCNT)" "$(DOC_INSTALL_DIR)\"
$(TCLSH) <<
-puts "Installing Tk's helpfile contents into Tcl's ..."
+puts "Installing $(PROJECT)'s helpfile contents into Tcl's ..."
set f [open "$(DOC_INSTALL_DIR:\=/)/tcl$(VERSION).cnt" r]
while {![eof $$f]} {
- if {[regexp {:Include tk([0-9]{2}).cnt} [gets $$f] dummy ver]} {
+ if {[regexp {:Include $(PROJECT)([0-9]{2}).cnt} [gets $$f] dummy ver]} {
if {$$ver == $(VERSION)} {
puts "Already installed."
exit
+ } else {
+ # do something here logical to remove (or replace) it.
+ puts "$$ver != $(VERSION), unfinished code path, die, die!"
+ exit 1
}
}
}