From: Richard Levitte Date: Fri, 1 Jul 2016 17:06:37 +0000 (+0200) Subject: Deal with pod2html issues, in this case the lack of .html suffix in links X-Git-Tag: OpenSSL_1_1_0-pre6~288 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=15a1f19e62b92c33223e2e8e1c19b4f6d0e9ee71 Deal with pod2html issues, in this case the lack of .html suffix in links Reviewed-by: Rich Salz --- diff --git a/Configurations/unix-Makefile.tmpl b/Configurations/unix-Makefile.tmpl index 20fd1d6783..6dbed436f2 100644 --- a/Configurations/unix-Makefile.tmpl +++ b/Configurations/unix-Makefile.tmpl @@ -628,7 +628,7 @@ install_html_docs: OUTTOP="$(DESTDIR)$(HTMLDIR)"; \ GENERATE="pod2html --podroot=$(SRCDIR)/doc --htmldir=.. \ --podpath=apps:crypto:ssl --title=\$$Name \ - | sed -e 's|href=\"http://man.he.net/man|href=\"../man|g'"; \ + | perl -pe 's|href=\"http://man.he.net/man|href=\"../man|g; s|href=\"(.*/man.*)(?|href=\"\$$1.html\">|g;'"; \ $(PROCESS_PODS) uninstall_html_docs: