File: rules

package info (click to toggle)
golang-github-racksec-srslog 0.0~git20160120.0.259aed1-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, experimental
  • size: 152 kB
  • ctags: 165
  • sloc: python: 49; sh: 33; makefile: 13
file content (21 lines) | stat: -rwxr-xr-x 462 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f

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

DH_GOPKG = github.com/RackSec/srslog
export DH_GOLANG_INSTALL_ALL := 1

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

override_dh_auto_test:
	-dh_auto_test

override_dh_auto_install:
	$(RM) -rv \
            _build/src/$(DH_GOPKG)/LICENSE \
            _build/src/$(DH_GOPKG)/*.md \
            _build/src/$(DH_GOPKG)/script \
        ;
	dh_auto_install