summaryrefslogtreecommitdiffstats
path: root/win/makefile.vc
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2003-11-17 02:15:31 (GMT)
committerdgp <dgp@users.sourceforge.net>2003-11-17 02:15:31 (GMT)
commitefcbe5870a41ae03fb35107532faee500e1431c5 (patch)
tree9017df7f08ed8a4efb8c6ac6a00a2b7ee09d8f6c /win/makefile.vc
parent5a91364dd5337aba799ecd62bdd54b396adb4ae5 (diff)
downloadtk-efcbe5870a41ae03fb35107532faee500e1431c5.zip
tk-efcbe5870a41ae03fb35107532faee500e1431c5.tar.gz
tk-efcbe5870a41ae03fb35107532faee500e1431c5.tar.bz2
* win/makefile.vc: Restored consistency of pkgIndex.tcl file
with that generated by Makefile. Let's discuss whether there's really need for a change, and if so, let's make it consistently in all Makefiles.
Diffstat (limited to 'win/makefile.vc')
-rw-r--r--win/makefile.vc10
1 files changed, 3 insertions, 7 deletions
diff --git a/win/makefile.vc b/win/makefile.vc
index 565d55d..2c5575d 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.75 2003/11/16 06:07:00 davygrvy Exp $
+# RCS: @(#) $Id: makefile.vc,v 1.76 2003/11/17 02:15:32 dgp Exp $
#------------------------------------------------------------------------------
!if "$(MSVCDIR)" == ""
@@ -533,12 +533,8 @@ install-binaries:
!if !$(STATIC_BUILD)
@echo Creating package index "$(SCRIPT_INSTALL_DIR)\pkgIndex.tcl"
-del "$(SCRIPT_INSTALL_DIR)\pkgIndex.tcl"
- echo if {[package vcompare [package provide Tcl] $(TCL_DOTVERSION)] != 0} { return }> "$(OUT_DIR)\pkgIndex.tcl"
- echo if {[info exists ::tcl_platform(debug)]} {>> "$(OUT_DIR)\pkgIndex.tcl"
- echo package ifneeded Tk $(DOTVERSION) [list load [file join $$dir .. .. bin tk$(VERSION)g.dll] Tk]>> "$(OUT_DIR)\pkgIndex.tcl"
- echo } else {>> "$(OUT_DIR)\pkgIndex.tcl"
- echo package ifneeded Tk $(DOTVERSION) [list load [file join $$dir .. .. bin tk$(VERSION).dll] Tk]>> "$(OUT_DIR)\pkgIndex.tcl"
- echo }>> "$(OUT_DIR)\pkgIndex.tcl"
+ echo if {[package vcompare [package provide Tcl] $(TCL_DOTVERSION)] != 0} { return } > "$(OUT_DIR)\pkgIndex.tcl"
+ echo package ifneeded Tk $(DOTVERSION) [list load [file join $$dir .. .. bin $(TKLIBNAME)] Tk] >>"$(OUT_DIR)\pkgIndex.tcl"
$(CPY) "$(OUT_DIR)\pkgIndex.tcl" "$(SCRIPT_INSTALL_DIR)\"
!endif