From beadb441572e47e163c6b59a9eb72b47e2d9227d Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Sat, 21 May 2016 20:51:18 +0200 Subject: [PATCH] HTML docs on Unix: Add a HTML title Reviewed-by: Rich Salz --- Configurations/unix-Makefile.tmpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Configurations/unix-Makefile.tmpl b/Configurations/unix-Makefile.tmpl index de20ad7d06..469bd323d8 100644 --- a/Configurations/unix-Makefile.tmpl +++ b/Configurations/unix-Makefile.tmpl @@ -528,6 +528,7 @@ PROCESS_PODS=\ SEC=`sed -ne 's/^=for *comment *openssl_manual_section: *\([0-9]\) *$$/\1/p' $$p`; \ [ -z "$$SEC" ] && SEC=$$defsec; \ fn=`basename $$p .pod`; \ + Name=$$fn; \ NAME=`echo $$fn | tr [a-z] [A-Z]`; \ suf=`eval "echo $$OUTSUFFIX"`; \ top=`eval "echo $$OUTTOP"`; \ @@ -607,7 +608,7 @@ install_html_docs: OUTSUFFIX='.$(HTMLSUFFIX)'; \ OUTTOP="$(DESTDIR)$(HTMLDIR)"; \ GENERATE="pod2html --podroot=$(SRCDIR)/doc --htmldir=.. \ - --podpath=apps:crypto:ssl \ + --podpath=apps:crypto:ssl --title=\$$Name \ | sed -e 's|href=\"http://man.he.net/man|href=\"../man|g'"; \ $(PROCESS_PODS) -- 2.25.1