aboutsummaryrefslogtreecommitdiff
path: root/pb/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'pb/Makefile')
-rw-r--r--pb/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/pb/Makefile b/pb/Makefile
index bdfc8e3b0..a666d6c15 100644
--- a/pb/Makefile
+++ b/pb/Makefile
@@ -6,6 +6,8 @@
all: dns.pb.go
dns.pb.go: dns.proto
- protoc --go_out=plugins=grpc:. dns.proto && \
- sed -e s?golang.org/x/net/context?context? < dns.pb.go > dns.pb.go.tmp && \
- mv dns.pb.go.tmp dns.pb.go
+ protoc --go_out=plugins=grpc:. dns.proto
+
+.PHONY: clean
+clean:
+ rm dns.pb.go