aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/test-databases/Makefile.local
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-databases/Makefile.local')
-rw-r--r--test/test-databases/Makefile.local14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/test-databases/Makefile.local b/test/test-databases/Makefile.local
new file mode 100644
index 00000000..0572e784
--- /dev/null
+++ b/test/test-databases/Makefile.local
@@ -0,0 +1,14 @@
+# -*- makefile -*-
+
+TEST_DATABASE_MIRROR=http://notmuchmail.org/releases/test-databases
+
+dir := test/test-databases
+
+test_databases := $(dir)/database-v1.tar.xz
+
+%.tar.xz:
+ wget -nv -O $@ ${TEST_DATABASE_MIRROR}/$(notdir $@);
+
+download-test-databases: ${test_databases}
+
+DISTCLEAN := $(DISTCLEAN) ${test_databases}