diff options
author | Pauli <pauli@openssl.org> | 2021-05-21 07:24:57 +0200 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2021-05-22 07:33:53 +0200 |
commit | 06621ba387f8d45e0c273f77f18573eb52cd66b8 (patch) | |
tree | 2b76e4e31982dba9e4aebc0cea4867ec0fe899aa /Configurations/windows-makefile.tmpl | |
parent | configure: build list of image files (diff) | |
download | openssl-06621ba387f8d45e0c273f77f18573eb52cd66b8.tar.xz openssl-06621ba387f8d45e0c273f77f18573eb52cd66b8.zip |
configurations: update template makefiles to install documentation images
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15399)
Diffstat (limited to '')
-rw-r--r-- | Configurations/windows-makefile.tmpl | 30 |
1 files changed, 28 insertions, 2 deletions
diff --git a/Configurations/windows-makefile.tmpl b/Configurations/windows-makefile.tmpl index a7123f6a5e..632e5ce4b5 100644 --- a/Configurations/windows-makefile.tmpl +++ b/Configurations/windows-makefile.tmpl @@ -145,6 +145,14 @@ MISC_SCRIPTS={- && $unified_info{attributes}->{scripts}->{$_}->{misc} } @{$unified_info{scripts}}) -} +IMAGEDOCS1={- our @IMAGEDOCS1 = @{$unified_info{imagedocs}->{man1}}; + join(" ", @IMAGEDOCS1) -} +IMAGEDOCS3={- our @IMAGEDOCS3 = @{$unified_info{imagedocs}->{man3}}; + join(" ", @IMAGEDOCS3) -} +IMAGEDOCS5={- our @IMAGEDOCS5 = @{$unified_info{imagedocs}->{man5}}; + join(" ", @IMAGEDOCS5) -} +IMAGEDOCS7={- our @IMAGEDOCS7 = @{$unified_info{imagedocs}->{man7}}; + join(" ", @IMAGEDOCS7) -} HTMLDOCS1={- our @HTMLDOCS1 = @{$unified_info{htmldocs}->{man1}}; join(" ", @HTMLDOCS1) -} HTMLDOCS3={- our @HTMLDOCS3 = @{$unified_info{htmldocs}->{man3}}; @@ -595,7 +603,7 @@ install_programs: install_runtime_libs build_programs uninstall_runtime: -install_html_docs: build_html_docs +install_html_docs: install_image_docs build_html_docs @if "$(INSTALLTOP)"=="" ( echo INSTALLTOP should not be empty & exit 1 ) @echo *** Installing HTML docs @"$(PERL)" "$(SRCDIR)\util\mkdir-p.pl" "$(INSTALLTOP)\html\man1" @@ -611,7 +619,25 @@ install_html_docs: build_html_docs @"$(PERL)" "$(SRCDIR)\util\copy.pl" $(BLDDIR)\doc\html\man7\*.html \ "$(INSTALLTOP)\html\man7" -uninstall_html_docs: +uninstall_html_docs: uninstall_image_docs + +install_image_docs: + @if "$(INSTALLTOP)"=="" ( echo INSTALLTOP should not be empty & exit 1 ) + @echo *** Installing HTML images + @"$(PERL)" "$(SRCDIR)\util\mkdir-p.pl" "$(INSTALLTOP)\html\man1\img" + @"$(PERL)" "$(SRCDIR)\util\mkdir-p.pl" "$(INSTALLTOP)\html\man3\img" + @"$(PERL)" "$(SRCDIR)\util\mkdir-p.pl" "$(INSTALLTOP)\html\man5\img" + @"$(PERL)" "$(SRCDIR)\util\mkdir-p.pl" "$(INSTALLTOP)\html\man7\img" + @"$(PERL)" "$(SRCDIR)\util\copy.pl" $(SRCDIR)\doc\man1\img\*.png \ + "$(INSTALLTOP)\html\man1\img" + @"$(PERL)" "$(SRCDIR)\util\copy.pl" $(SRCDIR)\doc\man3\img\*.png \ + "$(INSTALLTOP)\html\man3\img" + @"$(PERL)" "$(SRCDIR)\util\copy.pl" $(SRCDIR)\doc\man5\img\*.png \ + "$(INSTALLTOP)\html\man5\img" + @"$(PERL)" "$(SRCDIR)\util\copy.pl" $(SRCDIR)\doc\man7\img\*.png \ + "$(INSTALLTOP)\html\man7\img" + +uninstall_image_docs: # Helper targets ##################################################### |