diff options
author | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2017-05-19 16:58:29 +0200 |
---|---|---|
committer | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2017-05-19 16:58:29 +0200 |
commit | 102ae0ca156cb77af8c4a20f4849057ac827cce6 (patch) | |
tree | 9171eb91ff1b62e1a14989e5e630d38621d5c4aa | |
parent | c9bfbf5461e3ecbdd2aff84095cba695bdfe0e26 (diff) |
Fix missing tools path creation.
-rw-r--r-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |