]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
build: do not install .hmac files
authorDaiki Ueno <ueno@gnu.org>
Sun, 25 Apr 2021 08:48:09 +0000 (10:48 +0200)
committerDaiki Ueno <ueno@gnu.org>
Sun, 25 Apr 2021 11:30:50 +0000 (13:30 +0200)
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>
lib/Makefile.am

index 6eb175bf6f632edea0f4d55b40df3243baf43092..f213be19a9b89294095cc3e004994f89e184459d 100644 (file)
@@ -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