File: rules

package info (click to toggle)
golang-github-muesli-smartcrop 0.2.0%2Bgit20180228.f6ebaa7%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 96 kB
  • sloc: makefile: 6
file content (14 lines) | stat: -rwxr-xr-x 457 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

# Unfortunately, both example images are CC-BY-2.0 which is not DFSG-free...
#export DH_GOLANG_INSTALL_EXTRA := examples

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

# Disable tests which would fail anyway without example images
override_dh_auto_test:

override_dh_auto_install:
	dh_auto_install -O--buildsystem=golang
	rm -v debian/golang-github-muesli-smartcrop-dev/usr/share/gocode/src/github.com/muesli/smartcrop/smartcrop_test.go