summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaiki Ueno <ueno@gnu.org>2021-04-25 10:48:09 +0200
committerDaiki Ueno <ueno@gnu.org>2021-04-25 13:30:50 +0200
commitc488a91ae4ec8e14d81d15a9dc129a7c8c212e54 (patch)
tree15da4892d36c992ed8ebd78ffaf2fe2788a7ce59
parent4599009cf9e0ffe9417b85a8d65319a017003d2e (diff)
downloadgnutls-c488a91ae4ec8e14d81d15a9dc129a7c8c212e54.tar.gz
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 <ueno@gnu.org>
-rw-r--r--lib/Makefile.am11
1 files changed, 0 insertions, 11 deletions
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