make zip files

git-svn-id: svn+q:///qpdf/trunk@905 71b93d88-0707-0410-a8cf-f5a4172ac649
This commit is contained in:
Jay Berkenbilt 2009-10-24 13:41:03 +00:00
parent bad4ff9683
commit 66eb490fdf
3 changed files with 12 additions and 7 deletions

View File

@ -45,9 +45,8 @@ Release Reminders
* To create Windows binary releases, extract the qpdf source
distribution in Windows (MSYS + MINGW, MSVC) and run
./make_windows_releases from there. You will have to manually
create zip files from the install-mingw and install-msys
directories; instructions are echoed by the script.
./make_windows_releases from there. You will need to have zip in
your path.
* Remember to copy README-what-to-download.txt separately onto the
download area and make it the default for Windows platforms.

View File

@ -52,7 +52,7 @@ $fh = safe_open("libqpdf/QPDF.cc");
my $code_version = 'unknown';
while (<$fh>)
{
if (m/QPDF::qpdf_version = ([^\"]+)\"/)
if (m/QPDF::qpdf_version = \"([^\"]+)\"/)
{
$code_version = $1;
last;
@ -91,7 +91,7 @@ if ($version ne $config_version)
}
if ($version ne $code_version)
{
print "$whoami: qpdf.cc version = $code_version\n";
print "$whoami: QPDF.cc version = $code_version\n";
$version_error = 1;
}
if ($version ne $doc_version)

View File

@ -21,8 +21,14 @@ make distclean
cp -p README-windows-install.txt install-mingw/qpdf*/README.txt
cp -p README-windows-install.txt install-msvc/qpdf*/README.txt
cd install-mingw
v=qpdf-*
zip -r ../$v-bin-mingw.zip $v
cd ../install-msys
zip -r ../$v-bin-msvc.zip $v
cd ..
set +x
echo ""
echo "Create qpdf-VERSION-bin-mingw.zip from install-mingw."
echo "Create qpdf-VERSION-bin-msvc.zip from install-msvc."
echo "$v-bin-mingw.zip adn $v-bin-msvc.zip have been created."