Add diff-fips-checksums target to compare BLDDIR and SRCDIR checksums

Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15229)
This commit is contained in:
Tomas Mraz 2021-05-11 16:20:51 +02:00
parent f3b1e3488c
commit 8e782e8b4f

View File

@ -1283,6 +1283,15 @@ $(SRCDIR)/providers/fips.checksum: providers/fips.checksum
update-fips-checksums: $(SRCDIR)/providers/fips.checksum
diff-fips-checksums: fips-checksums
@if [ "$(SRCDIR)" = "$(BLDDIR)" ]; then \
echo >&2 "Nothing to diff as the build and the source tree is the same"; \
false; \
fi
diff -u $(SRCDIR)/providers/fips.module.sources providers/fips.module.sources
diff -u $(SRCDIR)/providers/fips-sources.checksums providers/fips-sources.checksums
diff -u $(SRCDIR)/providers/fips.checksum providers/fips.checksum
# Release targets (note: only available on Unix) #####################
tar: