rules 557 Bytes
Newer Older
ale's avatar
ale committed
1 2
#!/usr/bin/make -f

3 4 5 6 7 8
export DH_GOPKG := git.autistici.org/ai3/accountserver
export DH_GOLANG_EXCLUDES := vendor integrationtest

# Include all files in copy, not just *.go files.
# Required for tests to run successfully (due to the java ldap server).
export DH_GOLANG_INSTALL_ALL := 1
ale's avatar
ale committed
9 10 11 12 13


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

ale's avatar
ale committed
14 15 16
override_dh_auto_install:
	dh_auto_install
	$(RM) -rv debian/accountserver/usr/share/gocode
ale's avatar
ale committed
17 18 19 20 21 22 23

override_dh_systemd_enable:
	dh_systemd_enable --no-enable

override_dh_systemd_start:
	dh_systemd_start --no-start