File: rules

package info (click to toggle)
torchwood 0.9.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 632 kB
  • sloc: python: 237; sql: 135; sh: 17; makefile: 14
file content (20 lines) | stat: -rwxr-xr-x 687 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

export DH_GOLANG_INSTALL_EXTRA := \
	$(wildcard cmd/age-keyserver/static/*) \
	$(wildcard cmd/age-keyserver/templates/*) \
	$(wildcard prefix/prefixsqlite/*.sql) \
	cmd/age-keylookup/default_policy.txt \
	cmd/age-keyserver/witness_policy.txt

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

execute_before_dh_auto_configure: # debian/README.source
	mkdir -pv debian/_build/src/filippo.io/mostly-harmless/vrf-r255
	cp -v $(CURDIR)/debian/local/vrf.go debian/_build/src/filippo.io/mostly-harmless/vrf-r255

# talks to Internet or fragile
SKIP="TestReadEndpoint|TestSumDB|TestScript"
override_dh_auto_test:
	dh_auto_test $(DH_BUILD_OPTS) -- -skip=$(SKIP)