autotools: Create src/wycheproof dir before creating file in it

This directory may not exist in a VPATH build,
see https://github.com/bitcoin/bitcoin/pull/27445#issuecomment-1502994264 .
This commit is contained in:
Tim Ruffing 2023-04-14 07:54:24 +02:00
parent 8764034ed5
commit 2418d3260a

View File

@ -226,6 +226,7 @@ maintainer-clean-local: clean-precomp
TESTVECTORS = src/wycheproof/ecdsa_secp256k1_sha256_bitcoin_test.h
src/wycheproof/ecdsa_secp256k1_sha256_bitcoin_test.h:
mkdir -p $(@D)
python3 tools/tests_wycheproof_generate.py src/wycheproof/ecdsa_secp256k1_sha256_bitcoin_test.json > $@
testvectors: $(TESTVECTORS)