HTML docs on Unix: Add a HTML title
authorRichard Levitte <levitte@openssl.org>
Sat, 21 May 2016 18:51:18 +0000 (20:51 +0200)
committerRichard Levitte <levitte@openssl.org>
Sun, 22 May 2016 22:45:44 +0000 (00:45 +0200)
Reviewed-by: Rich Salz <rsalz@openssl.org>
Configurations/unix-Makefile.tmpl

index de20ad7..469bd32 100644 (file)
@@ -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)