File: rules

package info (click to toggle)
golang-doozer 0.0~git20130909-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 224 kB
  • ctags: 283
  • sloc: makefile: 11
file content (19 lines) | stat: -rwxr-xr-x 480 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1

# DH_GOPKG is the upstream path which you would normally “go get”.
# Using it allows us to build applications without patching locations.
export DH_GOPKG := github.com/4ad/doozer

override_dh_auto_configure:
	rm msg.pb.go
	protoc --go_out=. msg.proto
	sed -i -e"s/Request/request/g"	\
		-e"s/Response/response/g" \
		 msg.pb.go
	dh_auto_configure

%:
	dh $@ --buildsystem=golang --with=golang