diff options
author | Tomas Mraz <tomas@openssl.org> | 2021-05-11 16:20:51 +0200 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2021-05-13 10:23:42 +0200 |
commit | 8e782e8b4f8da79713d67446ac179e87201f2a5a (patch) | |
tree | 02fea5f34af7dd62b0ecdb7cac98e4b8e8ffd40c /Configurations/unix-Makefile.tmpl | |
parent | f3b1e3488cc194b0145b61dbe65b7b0b49a1abc4 (diff) |
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)
Diffstat (limited to 'Configurations/unix-Makefile.tmpl')
-rw-r--r-- | Configurations/unix-Makefile.tmpl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Configurations/unix-Makefile.tmpl b/Configurations/unix-Makefile.tmpl index f4805e8713..345c197253 100644 --- a/Configurations/unix-Makefile.tmpl +++ b/Configurations/unix-Makefile.tmpl @@ -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: |