Skip to content

Commit

Permalink
Fix target name
Browse files Browse the repository at this point in the history
  • Loading branch information
mcumming committed Aug 6, 2024
1 parent fe3949e commit 130f153
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/xcsync/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ include $(TOP)/mk/xamarin.mk

DOWNLOAD_STAMP_FILE=.download-$(XCSYNC_NUGET_VERSION).stamp

TARGETS += $(foreach platform,$(DOTNET_PLATFORMS),$(DOTNET_DESTDIR)/Microsoft.$(platform).Sdk/tools/bin/xcsync)
TARGETS += $(foreach platform,$(DOTNET_PLATFORMS),$(DOTNET_DESTDIR)/Microsoft.$(platform).Sdk/tools/bin/dotnet-xcsync)

$(DOWNLOAD_STAMP_FILE):
$(Q) $(DOTNET) restore download-xcsync.csproj /bl:$@.binlog $(MSBUILD_VERBOSITY) /p:XcsyncNuGetVersion=$(XCSYNC_NUGET_VERSION)
$(Q) touch $@

define DotNetInstall
$$(DOTNET_DESTDIR)/Microsoft.$(1).Sdk/tools/bin/xcsync: $$(DOWNLOAD_STAMP_FILE)
$$(DOTNET_DESTDIR)/Microsoft.$(1).Sdk/tools/bin/dotnet-xcsync: $$(DOWNLOAD_STAMP_FILE)
$$(Q) rm -rf $$(DOTNET_DESTDIR)/$($(1)_NUGET_SDK_NAME)/tools/bin/dotnet-xcsync
$$(Q) rm -rf $$(DOTNET_DESTDIR)/$($(1)_NUGET_SDK_NAME)/tools/lib/xcsync
$$(Q) mkdir -p $$(DOTNET_DESTDIR)/$($(1)_NUGET_SDK_NAME)/tools/bin
Expand Down

0 comments on commit 130f153

Please sign in to comment.