summaryrefslogtreecommitdiff
path: root/build_posix/Make.base
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@wiredtiger.com>2011-09-02 21:53:51 +1000
committerMichael Cahill <michael.cahill@wiredtiger.com>2011-09-02 21:53:51 +1000
commit223a281bb64fbc1b29c99334bde47f04a2d83d81 (patch)
treea97a60d27df1d34f62d1d6a0df0b679567920141 /build_posix/Make.base
parent38321182a3068479f20bd1c46215c82bfc772576 (diff)
downloadmongo-223a281bb64fbc1b29c99334bde47f04a2d83d81.tar.gz
In the release package, some directories are removed. Don't try to generate Makefiles in them.
Diffstat (limited to 'build_posix/Make.base')
-rw-r--r--build_posix/Make.base11
1 files changed, 9 insertions, 2 deletions
diff --git a/build_posix/Make.base b/build_posix/Make.base
index 5aaf690e7ba..39b35c26e82 100644
--- a/build_posix/Make.base
+++ b/build_posix/Make.base
@@ -9,7 +9,7 @@ endif
SUBDIRS = . \
bench/tcbench examples/c \
ext/compressors/nop_compress \
- test/format test/insert test/salvage test/thread \
+ test/format test/salvage test/thread \
$(BZBUILD) $(PYBUILD)
wtdir = $(prefix)/wt
@@ -24,7 +24,7 @@ wt_SOURCES = util_create.c util_dump.c util_dumpfile.c util_getopt.c \
include_HEADERS= wiredtiger.h
INCLUDES= -I$(srcdir)/src/include
-$(srcdir)/build_posix/Makefile.am: $(srcdir)/build_posix/Make.base $(srcdir)/build_posix/makemake $(srcdir)/dist/filelist
+$(srcdir)/Makefile.am: $(srcdir)/build_posix/Make.base $(srcdir)/build_posix/makemake $(srcdir)/dist/filelist
@cd $(srcdir)/build_posix && sh makemake
libtool: $(LIBTOOL_DEPS)
@@ -37,3 +37,10 @@ $(srcdir)/src/include/extern.h: prototype.chk
prototype.chk: $(libwiredtiger_la_SOURCES)
@(cd $(srcdir)/dist && sh s_prototypes) && touch $@
+
+# test/insert is stripped from the release, so we don't want it in SUBDIRS
+test/insert/Makefile: $(srcdir)/test/insert/Makefile.am
+ @./config.status --file=test/insert/Makefile
+
+test-insert: test/insert/Makefile
+ @(cd test/insert && $(MAKE))