Allow out-of-tree builds

Jean-Francois Dockes Jean-Francois Dockes 2015-11-23

changed src/python/recoll/setup.py.in
changed src/qtgui/recoll.pro.in
changed src/Makefile.am
changed src/configure.ac
copied src/python/recoll/Makefile -> src/python/recoll/Makefile.in
src/python/recoll/setup.py.in Diff Switch to side-by-side view
Loading...
src/qtgui/recoll.pro.in Diff Switch to side-by-side view
Loading...
src/Makefile.am Diff Switch to side-by-side view
Loading...
src/configure.ac Diff Switch to side-by-side view
Loading...
src/python/recoll/Makefile to src/python/recoll/Makefile.in
--- a/src/python/recoll/Makefile
+++ b/src/python/recoll/Makefile.in
@@ -1,5 +1,6 @@
 all:
 	echo libdir: $(libdir)
+	test '@srcdir@' = '.' || cp -rp @srcdir@/recoll .
 	libdir=$(libdir) python setup.py build
 install:
 	sudo python setup.py install