--- a/debian/rules 2020-06-23 10:13:48.027577661 +0100 --- b/debian/rules 2020-06-23 10:25:47.206848028 +0100 @@ -20,5 +20,8 @@ DH_GOPKG="v2ray.com/core/infra/control/main" dh_auto_build -- -ldflags "$(LDFLAGS)" -tags confonly cd obj-$(DEB_HOST_GNU_TYPE); mv bin/main bin/v2ctl +override_dh_install: + dh_install -X.pem + %: dh $@ --buildsystem=golang --with=golang