File: rules

package info (click to toggle)
golang-github-burntsushi-xgb 0.0~git20210121.deaf085-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 2,100 kB
  • sloc: makefile: 61
file content (17 lines) | stat: -rwxr-xr-x 435 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

export DH_GOLANG_EXCLUDES := github.com/BurntSushi/xgb/examples

override_dh_auto_install:
	dh_auto_install
	# Only used in generating the binding code
	rm debian/golang-github-burntsushi-xgb-dev/usr/bin/xgbgen
	rmdir debian/golang-github-burntsushi-xgb-dev/usr/bin

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	xvfb-run dh_auto_test --
endif

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