X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=Makefile;h=160b91a5080e9aebf56464aecd1a7e3f27eabbef;hb=03f31ff8f44541fff15c3ff04ac75cb8e0274b79;hp=619c5145d4db9d9d742f754f1238f6174273b4ed;hpb=0f52586a6208a66a8d5e4dd4c4e3a58cdff6b46f;p=src%2Fxds%2Fxds-agent.git 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)