diff --git a/debian/control b/debian/control
index 96747a49d2119d83c558bc09436e3775fab5ff52..e88709ceedc600da46f1a91e6cd0ad3489dacade 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,8 @@ Section: net
 Priority: extra
 Maintainer: Autistici/Inventati <debian@autistici.org>
 Build-Depends: debhelper (>= 8.0.0), golang-any (>= 1.11), dh-golang, dh-systemd
-Standards-Version: 3.9.4
+Standards-Version: 3.9.6
+XS-Go-Import-Path: git.autistici.org/ai3/tools/float-debug-proxy
 
 Package: float-debug-proxy
 Architecture: any
diff --git a/debian/rules b/debian/rules
index bac1440db5f505cdc1fa4c61319cbcf44fd4674d..53f2afb14a5da633732b9d3818db698fc7bfd3f3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,10 +1,6 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
 
-# This has to be exported to make some magic below work.
-export DH_OPTIONS
-
-export DH_GOPKG = git.autistici.org/ai3/tools/float-debug-proxy
 export DH_GOLANG_EXCLUDES = vendor
 
 %:
@@ -13,6 +9,5 @@ export DH_GOLANG_EXCLUDES = vendor
 override_dh_auto_test:
 
 override_dh_auto_install:
-	dh_auto_install
-	$(RM) -rv debian/float-debug-proxy/usr/share/gocode
+	dh_auto_install -- --no-source