File: rules

package info (click to toggle)
golang-github-foxboron-go-uefi 0.0~git20250207.69fb7db-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 9,140 kB
  • sloc: makefile: 29; sh: 14
file content (18 lines) | stat: -rwxr-xr-x 794 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

# * The binaries under cmd/ are examples. They cannot be built and are not
#   generally useful to downstreams.
export DH_GOLANG_EXCLUDES := cmd

export DH_GOLANG_INSTALL_EXTRA := tests/data

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

# requires unpackaged github.com/hugelgpuf/vmtest
execute_before_dh_auto_test:
	rm -fv _build/src/github.com/foxboron/go-uefi/tests/integration_test.go
	rm -fv _build/src/github.com/foxboron/go-uefi/tests/tests/enroll_keys/enroll_keys_test.go
	rm -fv _build/src/github.com/foxboron/go-uefi/tests/tests/modify_dbx/modify_dbx_test.go
	rm -fv _build/src/github.com/foxboron/go-uefi/tests/tests/remove_pk/remove_pk_test.go
	rm -fv _build/src/github.com/foxboron/go-uefi/tests/tests/secure_boot_enabled/secure_boot_enabled_test.go