File: rules

package info (click to toggle)
golang-github-clipperhouse-displaywidth 0.11.0%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 592 kB
  • sloc: makefile: 6
file content (14 lines) | stat: -rwxr-xr-x 468 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

export DH_GOLANG_EXCLUDES := terminal-test
export DH_GOLANG_GO_GENERATE := 1

%:
	dh $@ --builddirectory=debian/_build --buildsystem=golang

# We cannot use DH_GOLANG_EXCLUDES to prevent building of the `gen` binary
# because we need the corresponding source code to be available when running
# autopkgtests. So, manually remove the bin/ directory before performing
# the install steps.
execute_before_dh_auto_install:
	rm -rf ./debian/_build/bin/