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:
parent
8764034ed5
commit
2418d3260a
@ -226,6 +226,7 @@ maintainer-clean-local: clean-precomp
|
|||||||
TESTVECTORS = src/wycheproof/ecdsa_secp256k1_sha256_bitcoin_test.h
|
TESTVECTORS = src/wycheproof/ecdsa_secp256k1_sha256_bitcoin_test.h
|
||||||
|
|
||||||
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 > $@
|
python3 tools/tests_wycheproof_generate.py src/wycheproof/ecdsa_secp256k1_sha256_bitcoin_test.json > $@
|
||||||
|
|
||||||
testvectors: $(TESTVECTORS)
|
testvectors: $(TESTVECTORS)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user