diff options
| author | apnadkarni <apnmbx-wits@yahoo.com> | 2025-05-20 05:26:02 (GMT) |
|---|---|---|
| committer | apnadkarni <apnmbx-wits@yahoo.com> | 2025-05-20 05:26:02 (GMT) |
| commit | a1e0baea6bd15256b2a7b9abb5c2945e34811a19 (patch) | |
| tree | eb7412d74eb36aaf3ecb963a3b18fb81812e0258 | |
| parent | bbb91873becae4ad7dc5e71a9e2e5bb81ea2d461 (diff) | |
| parent | a2080b337816439027a6757c0d3e1e7a68b92842 (diff) | |
| download | tcl-a1e0baea6bd15256b2a7b9abb5c2945e34811a19.zip tcl-a1e0baea6bd15256b2a7b9abb5c2945e34811a19.tar.gz tcl-a1e0baea6bd15256b2a7b9abb5c2945e34811a19.tar.bz2 | |
Fix [3335120320]. Create include dir for installing extensions in non-default locations
| -rw-r--r-- | win/rules.vc | 3 | ||||
| -rw-r--r-- | win/targets.vc | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/win/rules.vc b/win/rules.vc index 414e85c..0b47765 100644 --- a/win/rules.vc +++ b/win/rules.vc @@ -24,7 +24,7 @@ _RULES_VC = 1 # For modifications that are not backward-compatible, you *must* change
# the major version.
RULES_VERSION_MAJOR = 1
-RULES_VERSION_MINOR = 14
+RULES_VERSION_MINOR = 15
# The PROJECT macro must be defined by parent makefile.
!if "$(PROJECT)" == ""
@@ -1690,6 +1690,7 @@ default-install-libraries: default-install-scripts default-install-scripts: $(OUT_DIR)\pkgIndex.tcl
@echo Installing libraries to '$(SCRIPT_INSTALL_DIR)'
+ @if not exist "$(SCRIPT_INSTALL_DIR)" mkdir "$(SCRIPT_INSTALL_DIR)"
@if exist $(LIBDIR) $(CPY) $(LIBDIR)\*.tcl "$(SCRIPT_INSTALL_DIR)"
@echo Installing package index in '$(SCRIPT_INSTALL_DIR)'
@$(CPY) $(OUT_DIR)\pkgIndex.tcl $(SCRIPT_INSTALL_DIR)
diff --git a/win/targets.vc b/win/targets.vc index 077e8f7..08f8441 100644 --- a/win/targets.vc +++ b/win/targets.vc @@ -53,6 +53,7 @@ default-install: default-install-stubs default-install: default-install-headers
default-install-headers:
@echo Installing headers to '$(INCLUDE_INSTALL_DIR)'
+ @if not exist "$(INCLUDE_INSTALL_DIR)" $(MKDIR) "$(INCLUDE_INSTALL_DIR)"
@for %f in ($(PRJ_HEADERS_PUBLIC)) do @$(COPY) %f "$(INCLUDE_INSTALL_DIR)"
!endif
|
