File: rules

package info (click to toggle)
golang-text 0.0~git20130502-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 92 kB
  • ctags: 44
  • sloc: makefile: 8
file content (21 lines) | stat: -rwxr-xr-x 650 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/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/kr/text

# Currently, tests can't win.
override_dh_auto_test:

# Remove the mc program, it doesn't serve any real purpose other than
# demonstration and adds an unnecessary dependency on golang-pty.
# Additional, it's a naming collision with the mc package.
override_dh_auto_configure:
	rm -fr ${CURDIR}/mc
	dh_auto_configure -O--buildsystem=golang

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