diff --git a/debian/rules b/debian/rules
index dc76545dc9dfbe8e8e85b8647e459b40623c0b18..a49b8d0697ad49510dacd3af44ac473c3def5f62 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,8 +1,9 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
 
-export DH_GOPKG = git.autistici.org/id/auth
-export DH_GOLANG_EXCLUDES = vendor
+export DH_GOPKG := git.autistici.org/id/auth
+export DH_GOLANG_EXCLUDES := vendor
+export DH_GOLANG_INSTALL_ALL := 1
 
 %:
 	dh $@ --with golang --with systemd --buildsystem golang