diff --git a/debian/rules b/debian/rules
index b4d6ecf215..8f4ce2de02 100755
--- a/debian/rules
+++ b/debian/rules
@@ -77,6 +77,19 @@ override_dh_auto_clean:
 		--enable-core-odbc-support --enable-zrtp \
 		--enable-core-pgsql-support \
 		--prefix=/usr --localstatedir=/var \
+		--sysconfdir=/etc \
+		--with-modinstdir=/usr/lib/freeswitch/mod \
+		--with-rundir=/var/run/freeswitch \
+		--with-logfiledir=/var/log/freeswitch \
+		--with-dbdir=/var/lib/freeswitch/db \
+		--with-htdocsdir=/usr/share/freeswitch/htdocs \
+		--with-soundsdir=/usr/share/freeswitch/sounds \
+		--with-storagedir=/var/lib/freeswitch/storage \
+		--with-cachedir=/var/cache/freeswitch \
+		--with-grammardir=/usr/share/freeswitch/grammar \
+		--with-certsdir=/etc/freeswitch/tls \
+		--with-scriptdir=/usr/share/freeswitch/scripts \
+		--with-recordingsdir=/var/lib/freeswitch/recordings \
 		--enable-static-v8 --disable-parallel-build-v8
 	touch $@