aboutsummaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorMartin Polden <mpolden@mpolden.no>2021-11-30 15:37:00 +0100
committerGitHub <noreply@github.com>2021-11-30 15:37:00 +0100
commitf92adadd822f8ae760ee84cc4f91f93105bb0523 (patch)
treee750f55606f18e0d30af3fdb545ef603f8624785 /client
parentefcd46e90bd91cc639422a4611612e9b12668034 (diff)
parent1e6b91d443afeaded7bc837b46f4a068091da3ef (diff)
Merge pull request #20295 from vespa-engine/hakonhall/avoid-cleaning-foreign-files
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 58d15e9c139..fc1ac843917 100644
--- a/client/go/Makefile
+++ b/client/go/Makefile
@@ -111,7 +111,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:
env $(GOPROXY_OVERRIDE) go test ./...