File: rules

package info (click to toggle)
golang-blackfriday 1.4%2Bgit20161003.40.5f33e7b-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch, stretch-backports
  • size: 544 kB
  • ctags: 349
  • sloc: makefile: 7
file content (17 lines) | stat: -rwxr-xr-x 447 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
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

# Include test fixtures
export DH_GOLANG_INSTALL_EXTRA := testdata

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

BUILDDIR := $(shell perl -w -MDebian::Debhelper::Buildsystem::golang -e \
        'print Debian::Debhelper::Buildsystem::golang->new()->get_builddir()')

override_dh_auto_test:
	dh_auto_test -O--buildsystem=golang -- -timeout 30m