File: rules

package info (click to toggle)
golang-github-gookit-color 1.5.4-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,708 kB
  • sloc: sh: 101; makefile: 7
file content (12 lines) | stat: -rwxr-xr-x 335 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/make -f

export DH_GOLANG_EXCLUDES := _examples/
export DH_GOLANG_INSTALL_EXTRA := README.md

ifeq ($(shell dpkg-vendor --derives-from Ubuntu && echo 1),1)
# Ubuntu: Fix FTBFS due to unknown TERM env var, cf. #1061077
export TERM := xterm-256color
endif

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