--- a/debian/rules 2020-03-11 13:57:51.570469074 +0000 --- b/debian/rules 2020-03-11 17:03:39.316224988 +0000 @@ -2,7 +2,7 @@ # -*- makefile -*- # Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 +export DH_VERBOSE=1 export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow @@ -12,9 +12,9 @@ %: dh $@ --with nodejs -override_dh_fixperms: - dh_fixperms - chmod -x $(TMP)/usr/lib/*/nodejs/nodedbi/build/Release/nodedbi.node - override_dh_install: - dh_install -X/.deps/ -X/Makefile + dh_install -X/Makefile + +override_dh_auto_install: + rm -rf ./build/Release/.deps + dh_auto_install