Skip to content

Commit

Permalink
autotools: Create src/wycheproof dir before creating file in it
Browse files Browse the repository at this point in the history
This directory may not exist in a VPATH build,
see bitcoin/bitcoin#27445 (comment) .
  • Loading branch information
real-or-random committed Apr 19, 2023
1 parent 5d7b63e commit c0e8c08
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ maintainer-clean-local: maintainer-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)
Expand Down

0 comments on commit c0e8c08

Please sign in to comment.