File: rules

package info (click to toggle)
jp 0.2.1%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 304 kB
  • sloc: python: 208; sh: 46; makefile: 23
file content (15 lines) | stat: -rwxr-xr-x 295 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

include /usr/share/dpkg/architecture.mk

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

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	JP=obj-$(DEB_HOST_GNU_TYPE)/bin/jp bats test/cases
endif


override_dh_auto_install:
	dh_auto_install -- --no-source