Index: Configurations/unix-Makefile.tmpl
--- Configurations/unix-Makefile.tmpl.orig	2024-04-09 14:12:22.000000000 +0200
+++ Configurations/unix-Makefile.tmpl	2024-04-09 22:57:25.645252000 +0200
@@ -322,7 +322,7 @@
 # $(libdir) is chosen to be compatible with the GNU coding standards
 libdir={- file_name_is_absolute($libdir)
           ? $libdir : '$(INSTALLTOP)/$(LIBDIR)' -}
-ENGINESDIR=$(libdir)/engines-{- $sover_dirname -}
+ENGINESDIR=$(libdir)/engines
 MODULESDIR=$(libdir)/ossl-modules
 
 # Convenience variable for those who want to set the rpath in shared
@@ -340,8 +340,8 @@
 PKGCONFIGDIR=$(libdir)/pkgconfig
 CMAKECONFIGDIR=$(libdir)/cmake/OpenSSL
 
-MANDIR=$(INSTALLTOP)/share/man
-DOCDIR=$(INSTALLTOP)/share/doc/$(BASENAME)
+MANDIR=$(INSTALLTOP)/man
+DOCDIR=$(INSTALLTOP)/share/openssl/doc/$(BASENAME)
 HTMLDIR=$(DOCDIR)/html
 
 # MANSUFFIX is for the benefit of anyone who may want to have a suffix
@@ -652,7 +652,7 @@
 
 uninstall_sw: uninstall_runtime uninstall_modules uninstall_engines uninstall_dev ## Uninstall the software and libraries
 
-install_docs: install_man_docs install_html_docs ## Install manpages and HTML documentation
+install_docs: install_man_docs
 
 uninstall_docs: uninstall_man_docs uninstall_html_docs ## Uninstall manpages and HTML documentation
 	$(RM) -r "$(DESTDIR)$(DOCDIR)"
