File: rules

package info (click to toggle)
golang-github-klauspost-compress 1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 5,788 kB
  • ctags: 869
  • sloc: asm: 195; makefile: 10
file content (14 lines) | stat: -rwxr-xr-x 526 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

export DH_GOPKG := github.com/klauspost/compress

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

override_dh_auto_configure:
	dh_auto_configure
	cp -rv $(CURDIR)/testdata _build/src/$(DH_GOPKG)/testdata
	cp -rv $(CURDIR)/gzip/testdata _build/src/$(DH_GOPKG)/gzip/testdata
	cp -rv $(CURDIR)/zip/testdata _build/src/$(DH_GOPKG)/zip/testdata
	cp -rv $(CURDIR)/snappy/testdata _build/src/$(DH_GOPKG)/snappy/testdata
	cp -rv $(CURDIR)/flate/testdata _build/src/$(DH_GOPKG)/flate/testdata