diff options
-rw-r--r-- | win/makefile.vc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/win/makefile.vc b/win/makefile.vc index 0fecad6..6da7500 100644 --- a/win/makefile.vc +++ b/win/makefile.vc @@ -522,7 +522,8 @@ $(TKSCRIPTZIP): .PHONY @if not exist "$(LIBTKVFS)" $(MKDIR) "$(LIBTKVFS)"
@if exist "$(LIBTKVFS)\$(TKSCRIPTZIPTOP)" $(RMDIR) "$(LIBTKVFS)\$(TKSCRIPTZIPTOP)"
@$(CPYDIR) $(LIBDIR) "$(LIBTKVFS)\$(TKSCRIPTZIPTOP)"
- @cd "$(OUT_DIR)" && $(TCLSH) <<
+ @$(TCLSH) <<
+cd {$(OUT_DIR)}
file delete -force {$@}
zipfs mkzip {$@} {$(LIBTKVFS)} {$(LIBTKVFS)}
<<
@@ -531,7 +532,8 @@ zipfs mkzip {$@} {$(LIBTKVFS)} {$(LIBTKVFS)} $(WISHSCRIPTZIP): $(TKSCRIPTZIP)
@echo Building Wish Tcl+Tk library zip file
@if exist "$(LIBTKVFS)\tcl_library" $(RMDIR) "$(LIBTKVFS)\tcl_library"
- @cd "$(OUT_DIR)" && $(TCLSH) <<
+ @$(TCLSH) <<
+cd {$(OUT_DIR)}
file delete -force {$@}
zipfs mount mnt "$(TCLSCRIPTZIP:\=/)"
file copy [file join [zipfs root] mnt tcl_library] "$(LIBTKVFS:\=/)"
|