From 8dd37d4fb275f305ff2c9a645acb3fa64cdfaa30 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Thu, 30 Oct 2025 11:03:59 -0700 Subject: [PATCH] Improved install target for Windows - #917 [skip ci] --- Makefile.win | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.win b/Makefile.win index 46ab3da..9d4cbe8 100644 --- a/Makefile.win +++ b/Makefile.win @@ -57,7 +57,7 @@ install: all copy $(SHLIB) "$(PKGLIBDIR)" copy $(EXTENSION).control "$(SHAREDIR)\extension" copy sql\$(EXTENSION)--*.sql "$(SHAREDIR)\extension" - mkdir "$(INCLUDEDIR_SERVER)\extension\$(EXTENSION)" + if not exist "$(INCLUDEDIR_SERVER)\extension\$(EXTENSION)" mkdir "$(INCLUDEDIR_SERVER)\extension\$(EXTENSION)" for %f in ($(HEADERS)) do copy %f "$(INCLUDEDIR_SERVER)\extension\$(EXTENSION)" installcheck: