From c488a91ae4ec8e14d81d15a9dc129a7c8c212e54 Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Sun, 25 Apr 2021 10:48:09 +0200 Subject: build: do not install .hmac files It turned out that distro package building process might perform post-processing (e.g., strip) of the shared libraries after install, and that may cause inconsistency with the installed .hmac files. Let's not try too hard on this but defer the final hmac calculation to distributions. It is still useful to keep our own fipshmac as it makes it easier to run FIPS tests. Signed-off-by: Daiki Ueno --- lib/Makefile.am | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'lib/Makefile.am') diff --git a/lib/Makefile.am b/lib/Makefile.am index 6eb175bf6f..f213be19a9 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -196,17 +196,6 @@ all-local: $(hmac_files) $(AM_V_GEN) $(builddir)/fipshmac .libs/$(gnutls_so) > $@-t && mv $@-t $@ CLEANFILES = $(hmac_files) - -install-exec-hook: $(hmac_files) - for file in $(hmac_files); do \ - $(INSTALL_DATA) $$file $(DESTDIR)$(libdir); \ - done - -uninstall-hook: - for file in $(hmac_files); do \ - basename=$$(expr $$file : '.*/\(.*\)'); \ - $(DESTDIR)$(libdir)/$$basename; \ - done endif if ENABLE_TROUSERS -- cgit v1.2.1