Skip to content

Commit 3a1c5eb

Browse files
authored
1 parent ef5123c commit 3a1c5eb

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

nginx-build-msys2.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,12 @@ make -f docs/GNUmakefile changes
109109
mv -f tmp/*/CHANGES* ../docs/
110110

111111
# copy docs and licenses
112-
cp -f docs/text/LICENSE ../docs/
113-
cp -f docs/text/README ../docs/
112+
cp -f docs/text/LICENSE ../docs/ || cp -f LICENSE ../docs/
113+
cp -f docs/text/README ../docs/ || cp -f README.md ../docs/
114+
if [[ -d docs/html ]]; then
115+
mkdir -p ../html
116+
cp -f docs/html/* ../html/
117+
fi
114118
cp -pf "${OPENSSL}/LICENSE.txt" '../docs/OpenSSL.LICENSE'
115119
cp -pf "${WITH_PCRE}/LICENCE" '../docs/PCRE.LICENCE'
116120
sed -ne '/^ (C) 1995-20/,/^ jloup@gzip\.org/p' "${ZLIB}/README" > '../docs/zlib.LICENSE'

0 commit comments

Comments
 (0)