Switch to side-by-side view

--- a/packaging/debian/debianrclqt4/rules
+++ b/packaging/debian/debianrclqt4/rules
@@ -1,4 +1,6 @@
 #!/usr/bin/make -f
+
+include /usr/share/quilt/quilt.make 
 
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
@@ -7,7 +9,7 @@
 DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 
 CFLAGS = -Wall -g
-LDFLAGS = -Wl,-z,defs
+#LDFLAGS = -Wl,-z,defs
 
 #build qt4 UI only
 export QMAKE=qmake-qt4
@@ -27,12 +29,12 @@
 		    --prefix=/usr
 
 build: build-stamp
-build-stamp: config.status
+build-stamp: $(QUILT_STAMPFN) config.status
 	dh_testdir
 	$(MAKE)
 	touch $@
 
-clean:
+clean: unpatch
 	dh_testdir
 	dh_testroot
 	rm -f build-stamp config.log
@@ -44,8 +46,8 @@
 	dh_testroot
 	dh_prep
 	dh_installdirs
-
 	$(MAKE) prefix=$(CURDIR)/debian/recoll/usr install
+	(cd python/recoll;python setup.py install --install-layout=deb --root=$(CURDIR)/debian/recoll/ )
 
 binary-arch: build install
 	dh_testdir