File: rules

package info (click to toggle)
gocc 0.0~git20230228.2292f9e-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,364 kB
  • sloc: makefile: 76; sh: 4
file content (12 lines) | stat: -rwxr-xr-x 303 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/make -f

export DH_GOLANG_INSTALL_EXTRA := internal/test/t2/t2.bnf

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

execute_after_dh_install:
	find $(CURDIR)/debian -name '*.go' -exec chmod 644 {} +

override_dh_auto_test:
	PATH=$(CURDIR)/_build/bin:$$PATH dh_auto_test