summaryrefslogtreecommitdiffstats
path: root/win/makefile.vc
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2003-11-17 02:20:19 (GMT)
committerdgp <dgp@users.sourceforge.net>2003-11-17 02:20:19 (GMT)
commit96fcd84d863cd9ed49b2f5f3c492864fb4019e1d (patch)
treec7ac3ad2d0e9f539f60216f69200637b8e52d62c /win/makefile.vc
parent44b7fd8e3208bcb711ecddd19594f91d320a0e19 (diff)
downloadtk-96fcd84d863cd9ed49b2f5f3c492864fb4019e1d.zip
tk-96fcd84d863cd9ed49b2f5f3c492864fb4019e1d.tar.gz
tk-96fcd84d863cd9ed49b2f5f3c492864fb4019e1d.tar.bz2
* win/makefile.vc: Restored consistency of pkgIndex.tcl file
with that generated by Makefile.
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 940ad76..9ee562b 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.67.2.4 2003/11/16 06:02:13 davygrvy Exp $
+# RCS: @(#) $Id: makefile.vc,v 1.67.2.5 2003/11/17 02:20:20 dgp Exp $
#------------------------------------------------------------------------------
!if "$(MSVCDIR)" == ""
@@ -531,12 +531,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 tk84g.dll] Tk]>> "$(OUT_DIR)\pkgIndex.tcl"
- echo } else {>> "$(OUT_DIR)\pkgIndex.tcl"
- echo package ifneeded Tk $(DOTVERSION) [list load [file join $$dir .. .. bin tk84.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