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 committed 2023-04-25 16:06:25 +01:00
1 parent 8764034ed5
commit 2418d3260a
1 file changed
+1
+1
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)