File: rules

package info (click to toggle)
addchain 0.4.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,396 kB
  • sloc: sh: 428; makefile: 10
file content (15 lines) | stat: -rwxr-xr-x 414 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

export DH_GOLANG_INSTALL_EXTRA := \
	$(wildcard internal/gen/templates/*.tmpl)		\
	$(wildcard internal/tools/docgen/templates/*.tmpl)

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

execute_after_dh_install:
	rm -fv $(CURDIR)/debian/addchain/usr/bin/release
	rm -fv $(CURDIR)/debian/addchain/usr/bin/docgen

override_dh_auto_test:
	dh_auto_test $(DH_BUILD_OPTS) -- -timeout=30m