From 03f31ff8f44541fff15c3ff04ac75cb8e0274b79 Mon Sep 17 00:00:00 2001 From: Sebastien Douheret Date: Fri, 26 May 2017 11:27:48 +0200 Subject: Fix Syncthing package retrieval for Windows Note that cross compile for Windows required Go version 1.8 or higher. Signed-off-by: Sebastien Douheret --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 619c514..160b91a 100644 --- a/Makefile +++ b/Makefile @@ -80,7 +80,7 @@ clean: .PHONY: distclean distclean: clean - rm -rf $(LOCAL_BINDIR) tools glide.lock vendor + rm -rf $(LOCAL_BINDIR) tools glide.lock vendor $(ROOT_SRCDIR)/*.zip .PHONY: install install: all @@ -96,7 +96,7 @@ tools/glide: .PHONY: tools/syncthing tools/syncthing: - @test -e $(LOCAL_TOOLSDIR)/syncthing -a -e $(LOCAL_TOOLSDIR)/syncthing-inotify || { \ + @test -e $(LOCAL_TOOLSDIR)/syncthing$(EXT) -a -e $(LOCAL_TOOLSDIR)/syncthing-inotify$(EXT) || { \ mkdir -p $(LOCAL_TOOLSDIR); \ DESTDIR=$(LOCAL_TOOLSDIR) \ SYNCTHING_VERSION=$(SYNCTHING_VERSION) \ @@ -105,7 +105,7 @@ tools/syncthing: .PHONY: tools/syncthing/copytobin: - @test -e $(LOCAL_TOOLSDIR)/syncthing -a -e $(LOCAL_TOOLSDIR)/syncthing-inotify || { echo "Please execute first: make tools/syncthing\n"; exit 1; } + @test -e $(LOCAL_TOOLSDIR)/syncthing$(EXT) -a -e $(LOCAL_TOOLSDIR)/syncthing-inotify$(EXT) || { echo "Please execute first: make tools/syncthing\n"; exit 1; } @mkdir -p $(LOCAL_BINDIR) @cp -f $(LOCAL_TOOLSDIR)/syncthing$(EXT) $(LOCAL_TOOLSDIR)/syncthing-inotify$(EXT) $(LOCAL_BINDIR) -- cgit 1.2.3-korg