File: rules

package info (click to toggle)
golang-github-jacobsa-ogletest 0.0~git20150610-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 240 kB
  • ctags: 276
  • sloc: makefile: 7
file content (14 lines) | stat: -rwxr-xr-x 460 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

export DH_GOPKG := github.com/jacobsa/ogletest
export DH_GOLANG_INSTALL_ALL := 1

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

override_dh_auto_install:
	dh_auto_install $@
	# Since we are using DH_GOLANG_INSTALL_ALL in order to get non-go files
	# in test_cases/* installed, we need to delete extra files such as
	# LICENSE.
	rm $(CURDIR)/debian/golang-github-jacobsa-ogletest-dev/usr/share/gocode/src/github.com/jacobsa/ogletest/LICENSE