From: Michał Kępień Date: Thu, 3 Sep 2020 08:35:37 +0000 (+0200) Subject: Include BIND documentation in Windows zips X-Git-Tag: v9.17.5~4^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=549ddca2562de81bb363212b791cbc5f853a321a;p=thirdparty%2Fbind9.git Include BIND documentation in Windows zips As generated documentation files are no longer stored in the BIND Git repository, put a copy of the PDF version of the BIND ARM generated by the "docs" GitLab CI job into the Windows zips to make it easily available to the end users on that platform. Make sure Windows zips also contain certain documentation files included in source tarballs to make the contents of each release more consistent across different platforms. --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bd5496badeb..29945e2dff5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1189,6 +1189,8 @@ release: - find Build/ -regextype posix-extended -regex "Build/.*/($(find bin/tests/ -type f | sed -nE "s|^bin/tests(/system)?/win32/(.*)\.vcxproj$|\2|p" | paste -d"|" -s))\..*" -print -delete # Create Windows zips - openssl dgst -sha256 "${BIND_DIRECTORY}.tar.${TARBALL_EXTENSION}" | tee Build/Release/SHA256 Build/Debug/SHA256 + - cp "doc/arm/_build/latex/Bv9ARM.pdf" Build/Release/ + - cp "doc/arm/_build/latex/Bv9ARM.pdf" Build/Debug/ - ( cd Build/Release; zip "../../BIND${BIND_DIRECTORY#bind-}.x64.zip" * ) - ( cd Build/Debug; zip "../../BIND${BIND_DIRECTORY#bind-}.debug.x64.zip" * ) # Prepare release tarball contents (tarballs + zips + documentation) diff --git a/lib/isc/win32/libisc.vcxproj.in b/lib/isc/win32/libisc.vcxproj.in index b4fcc52a313..17d292fb469 100644 --- a/lib/isc/win32/libisc.vcxproj.in +++ b/lib/isc/win32/libisc.vcxproj.in @@ -90,6 +90,13 @@ if NOT Exist ..\Build mkdir ..\Build if NOT Exist ..\Build\Debug mkdir ..\Build\Debug +echo Copying documentation. + +copy ..\*.md ..\Build\Debug +copy ..\CHANGES* ..\Build\Debug +copy ..\COPYRIGHT ..\Build\Debug +copy ..\LICENSE ..\Build\Debug + echo Copying COPYRIGHT notice. copy ..\COPYRIGHT ..\Build\Debug @@ -187,6 +194,13 @@ copy InstallFiles ..\Build\Debug\ if NOT Exist ..\Build mkdir ..\Build if NOT Exist ..\Build\Release mkdir ..\Build\Release +echo Copying documentation. + +copy ..\*.md ..\Build\Release +copy ..\CHANGES* ..\Build\Release +copy ..\COPYRIGHT ..\Build\Release +copy ..\LICENSE ..\Build\Release + echo Copying the OpenSSL DLL and LICENSE. copy @OPENSSL_DLL@ ..\Build\Release\