summaryrefslogtreecommitdiff
path: root/debian/rules
blob: 05054351f958b134dfac57d859f1185fe6cca75d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f
# -*- makefile -*-

# This has to be exported to make some magic below work.
export DH_OPTIONS

export DH_GOPKG = 0xacab.org/leap/getmyip
export DH_GOLANG_EXCLUDES = vendor

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

override_dh_auto_test:

override_dh_install:
	rm -fr $(CURDIR)/debian/getmyip/usr/share/gocode
	dh_install