File: rules

package info (click to toggle)
golang-github-pointlander-compress 1.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 356 kB
  • ctags: 123
  • sloc: makefile: 10
file content (17 lines) | stat: -rwxr-xr-x 422 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

export DH_GOLANG_EXCLUDES := bench

PKG = github.com/pointlander/compress

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

override_dh_auto_configure:
	dh_auto_configure
	# test data
	cp -rv $(CURDIR)/bench/310px-Tesla_colorado_adjusted.jpg _build/src/$(PKG)/bench/310px-Tesla_colorado_adjusted.jpg

override_dh_auto_test:
	dh_auto_test
	rm -v _build/src/$(PKG)/fractal/fifo.zpaq