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>
$(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