Switch to side-by-side view

--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,3 +1,11 @@
+
+# Conditionally enable building the small test drivers, but don't
+# distribute them, they are not generally useful
+if COND_TESTMAINS
+  MAYBE_TESTMAINS = testmains
+endif
+SUBDIRS = . $(MAYBE_TESTMAINS)
+DIST_SUBDIRS = .
 
 CXXFLAGS ?= @CXXFLAGS@
 LIBXAPIAN=@LIBXAPIAN@