File: rules

package info (click to toggle)
golang-github-jacobsa-ogletest 0.0~git20170503.80d50a7-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 292 kB
  • sloc: makefile: 6
file content (13 lines) | stat: -rwxr-xr-x 413 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

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