From 8f325b475b7d2dcd49d311c9c2aba87d06b05a15 Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Thu, 24 Dec 2020 17:05:10 +0800 Subject: [PATCH] win32/Makefile-newvs.am: Fix 'make dist' We need to account for the lack of Directory.Build.props in win32/vs10... --- win32/Makefile-newvs.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/win32/Makefile-newvs.am b/win32/Makefile-newvs.am index e5c7581288..9cda120c7a 100644 --- a/win32/Makefile-newvs.am +++ b/win32/Makefile-newvs.am @@ -41,8 +41,10 @@ endif %.props: $(top_builddir)/win32/vs10/Makefile if test -e $(top_srcdir)/win32/vs10/$@; then \ sed 's/10<\/VSVer>/$(MSVC_VER)<\/VSVer>/g' < $(top_srcdir)/win32/vs10/$@ > $(top_builddir)/win32/vs$(MSVC_VER)/$@; \ - else \ + elif test -e $(top_builddir)/win32/vs10/$@; then \ sed 's/10<\/VSVer>/$(MSVC_VER)<\/VSVer>/g' < $(top_builddir)/win32/vs10/$@ > $(top_builddir)/win32/vs$(MSVC_VER)/$@; \ + else \ + : \ fi %.vcxproj.filters: $(top_builddir)/win32/vs10/Makefile