File: rules

package info (click to toggle)
golang-github-jackc-pgx 4.15.0-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 712 kB
  • sloc: sh: 44; makefile: 9; sql: 8
file content (15 lines) | stat: -rwxr-xr-x 374 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

export DH_GOLANG_GO_GENERATE := 1
export DH_GOLANG_EXCLUDES := examples
export DH_GOLANG_INSTALL_EXTRA := $(wildcard *.example)
$(info DH_GOLANG_INSTALL_EXTRA=$(DH_GOLANG_INSTALL_EXTRA))

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

override_dh_auto_install:
	dh_auto_install -- --no-binaries

override_dh_auto_test:
	# Disabled