From 06c67dea9f6d46d3e24e810900fbb03045eae641 Mon Sep 17 00:00:00 2001 From: Tim Ruffing Date: Fri, 14 Apr 2023 07:09:46 +0200 Subject: [PATCH] autotools: Don't regenerate Wycheproof header automatically Pregenerated files that we distribute should not have dependencies in Makefile.am. For rationale, see the comments about the precomputed table files. See also https://github.com/bitcoin/bitcoin/pull/27445#issuecomment-1502994264 . --- Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 9af8eff9a3c50..36e26e3e8a47f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -255,8 +255,8 @@ EXTRA_DIST += tools/tests_wycheproof_generate.py TESTVECTORS = src/wycheproof/ecdsa_secp256k1_sha256_bitcoin_test.h -src/wycheproof/ecdsa_secp256k1_sha256_bitcoin_test.h: src/wycheproof/ecdsa_secp256k1_sha256_bitcoin_test.json - python3 tools/tests_wycheproof_generate.py $< > $@ +src/wycheproof/ecdsa_secp256k1_sha256_bitcoin_test.h: + python3 tools/tests_wycheproof_generate.py src/wycheproof/ecdsa_secp256k1_sha256_bitcoin_test.json > $@ testvectors: $(TESTVECTORS)