aboutsummaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorHåkon Hallingstad <hakon@yahooinc.com>2021-11-30 15:02:49 +0100
committerHåkon Hallingstad <hakon@yahooinc.com>2021-11-30 15:02:49 +0100
commit1e6b91d443afeaded7bc837b46f4a068091da3ef (patch)
tree0e198a14b2de35469c74e77f5a8eac8f0031f023 /client
parent1a9d505710061196383e649f0918cca7cd41a066 (diff)
Avoid cleaning foreign files
Diffstat (limited to 'client')
-rw-r--r--client/go/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/client/go/Makefile b/client/go/Makefile
index d53e8f46e03..d9d0ce3527e 100644
--- a/client/go/Makefile
+++ b/client/go/Makefile
@@ -104,7 +104,10 @@ manpages: install
$(BIN)/vespa man $(SHARE)/man/man1
clean:
- rm -rf $(BIN) $(SHARE) $(DIST)
+ rm -rf $(DIST)
+ rm -f $(BIN)/vespa $(SHARE)/man/man1/vespa.1 $(SHARE)/man/man1/vespa-*.1
+ rmdir -p $(BIN) &> /dev/null || true
+ rmdir -p $(SHARE)/man/man1 &> /dev/null || true
test:
go test ./...