From: Sebastien Douheret Date: Fri, 19 May 2017 14:58:29 +0000 (+0200) Subject: Fix missing tools path creation. X-Git-Tag: v0.0.1-alpha~6 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=src%2Fxds%2Fxds-agent.git;a=commitdiff_plain;h=102ae0ca156cb77af8c4a20f4849057ac827cce6 Fix missing tools path creation. --- diff --git a/Makefile b/Makefile index 7ba9163..4246133 100644 --- a/Makefile +++ b/Makefile @@ -92,6 +92,7 @@ tools/glide: .PHONY: tools/syncthing tools/syncthing: @test -e $(LOCAL_TOOLSDIR)/syncthing -a -e $(LOCAL_TOOLSDIR)/syncthing-inotify || { \ + mkdir -p $(LOCAL_TOOLSDIR); \ DESTDIR=$(LOCAL_TOOLSDIR) \ SYNCTHING_VERSION=$(SYNCTHING_VERSION) \ SYNCTHING_INOTIFY_VERSION=$(SYNCTHING_INOTIFY_VERSION) \ @@ -100,6 +101,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; } + @mkdir -p $(LOCAL_BINDIR) @cp -f $(LOCAL_TOOLSDIR)/syncthing* $(LOCAL_BINDIR) .PHONY: help