Skip to content

Commit 684e30a

Browse files
author
jan.nijtmans
committed
Update rules.vc to latest version
1 parent 80e4e6f commit 684e30a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

win/rules.vc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ _RULES_VC = 1
2424
# For modifications that are not backward-compatible, you *must* change
2525
# the major version.
2626
RULES_VERSION_MAJOR = 1
27-
RULES_VERSION_MINOR = 14
27+
RULES_VERSION_MINOR = 15
2828

2929
# The PROJECT macro must be defined by parent makefile.
3030
!if "$(PROJECT)" == ""
@@ -1690,6 +1690,7 @@ default-install-libraries: default-install-scripts
16901690

16911691
default-install-scripts: $(OUT_DIR)\pkgIndex.tcl
16921692
@echo Installing libraries to '$(SCRIPT_INSTALL_DIR)'
1693+
@if not exist "$(SCRIPT_INSTALL_DIR)" mkdir "$(SCRIPT_INSTALL_DIR)"
16931694
@if exist $(LIBDIR) $(CPY) $(LIBDIR)\*.tcl "$(SCRIPT_INSTALL_DIR)"
16941695
@echo Installing package index in '$(SCRIPT_INSTALL_DIR)'
16951696
@$(CPY) $(OUT_DIR)\pkgIndex.tcl $(SCRIPT_INSTALL_DIR)

win/targets.vc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ default-install: default-install-stubs
5353
default-install: default-install-headers
5454
default-install-headers:
5555
@echo Installing headers to '$(INCLUDE_INSTALL_DIR)'
56+
@if not exist "$(INCLUDE_INSTALL_DIR)" $(MKDIR) "$(INCLUDE_INSTALL_DIR)"
5657
@for %f in ($(PRJ_HEADERS_PUBLIC)) do @$(COPY) %f "$(INCLUDE_INSTALL_DIR)"
5758
!endif
5859

0 commit comments

Comments
 (0)