diff --git a/debian/rules b/debian/rules
index 580291f9f40b737562dcc1a5fcfa1641aa7ce00d..020c694b08a3b832db8d8d0e74edfa0c1d5a83ac 100644
--- a/debian/rules
+++ b/debian/rules
@@ -7,11 +7,12 @@
 	dh $@
 
 override_dh_auto_configure:
+	$(shell pwd)
 	dh_auto_configure -- \
 		-DCMAKE_BUILD_TYPE=Release -DBUILD_TESTS=off -DBUILD_BENCHMARKS=off
 
-override_dh_install:
+override_dh_auto_install:
 	$(shell pwd)
-	dh_install $@
+	dh_auto_install $@
 
 override_dh_usrlocal: