notmuch/test/test-databases/Makefile.local
David Bremner 8413582b6e test: add machinery to download and verify databases
Note that it is intentional that the checksum file is not
downloaded. The intent is to check those into git.
2014-03-11 19:51:22 -03:00

14 lines
315 B
Makefile

# -*- 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}