[web] master update
Richard Levitte
levitte at openssl.org
Mon Nov 1 10:34:33 UTC 2021
The branch master has been updated
via cbf57da0fc9ef2a5842f6a9dd3f4ed7d4a2e47a0 (commit)
from acbb83e4accab58fab385371c8835316a33fb21c (commit)
- Log -----------------------------------------------------------------
commit cbf57da0fc9ef2a5842f6a9dd3f4ed7d4a2e47a0
Author: Richard Levitte <levitte at openssl.org>
Date: Mon Nov 1 09:47:45 2021 +0100
Make sure to create missing directories
The source/old directory tree isn't guaranteed to be there any more,
now that we have removed that copy of the tarball archive. However,
HTML files are still produced there, so we must ensure that those
directories exist, or we'd get a build break.
Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Paul Dale <pauli at openssl.org>
(Merged from https://github.com/openssl/web/pull/276)
-----------------------------------------------------------------------
Summary of changes:
Makefile | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Makefile b/Makefile
index 0f79120..38b5738 100644
--- a/Makefile
+++ b/Makefile
@@ -350,9 +350,11 @@ source/index.inc: $(wildcard $(RELEASEDIR)/openssl-*.tar.gz) bin/mk-filelist
# $(1) = release, $(2) = release title
define mkoldsourceindex
source/old/$(1)/index.inc: $(wildcard $(RELEASEDIR)/old/$(1)/*.gz) bin/mk-filelist
+ @mkdir -p `dirname $$@`
@rm -f $$@
./bin/mk-filelist $(RELEASEDIR)/old/$(1) '' '*.gz' > $$@
source/old/$(1)/index.html: source/old/sub-index.html.tt bin/from-tt
+ @mkdir -p `dirname $$@`
@rm -f $$@
./bin/from-tt -d source/old/$(1) \
release='$(1)' releasetitle='Old $(2) Releases' \
@@ -367,6 +369,7 @@ endef
$(foreach S,fips $(SERIES) $(OLDSERIES2),$(eval $(call mkoldsourceindex,$(S),$(patsubst fips,FIPS,$(S)))))
source/old/index.html: source/old/index.html.tt Makefile bin/from-tt
+ @mkdir -p `dirname $@`
@rm -f $@
./bin/from-tt releases='$(SERIES) $(OLDSERIES2) fips' $<
More information about the openssl-commits
mailing list