mirror of
https://github.com/qpdf/qpdf.git
synced 2024-10-31 19:02:30 +00:00
make zip files
git-svn-id: svn+q:///qpdf/trunk@905 71b93d88-0707-0410-a8cf-f5a4172ac649
This commit is contained in:
parent
bad4ff9683
commit
66eb490fdf
@ -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.
|
||||
|
@ -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)
|
||||
|
@ -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."
|
||||
|
Loading…
Reference in New Issue
Block a user