File: rules

package info (click to toggle)
golang-github-kubernetes-gengo 0.0~git20210915.39e73c8-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 956 kB
  • sloc: makefile: 79
file content (17 lines) | stat: -rwxr-xr-x 346 bytes parent folder | download
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 := examples

%:
	dh $@ --buildsystem=golang

override_dh_auto_configure:
	# Remove .gitignore files otherwise they end up in the examples
	find . -name .gitignore | xargs rm -f
	dh_auto_configure

override_dh_auto_install:
	dh_auto_install --destdir=debian/tmp

override_dh_auto_test:
	-dh_auto_test