aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2009-10-24 15:41:03 +0200
committerJay Berkenbilt <ejb@ql.org>2009-10-24 15:41:03 +0200
commit66eb490fdf7c5a5de56fb6d43b6be04fb55c68e0 (patch)
treee55588632501f06d0e9079b61510366f27ed07c9
parentbad4ff9683f69e0da2085d557f489e8cb8cc83d8 (diff)
downloadqpdf-66eb490fdf7c5a5de56fb6d43b6be04fb55c68e0.tar.zst
make zip files
git-svn-id: svn+q:///qpdf/trunk@905 71b93d88-0707-0410-a8cf-f5a4172ac649
-rw-r--r--README.maintainer5
-rwxr-xr-xmake_dist4
-rwxr-xr-xmake_windows_releases10
3 files changed, 12 insertions, 7 deletions
diff --git a/README.maintainer b/README.maintainer
index cbd0beb4..1a4e57fe 100644
--- a/README.maintainer
+++ b/README.maintainer
@@ -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.
diff --git a/make_dist b/make_dist
index d0004162..d5f11a2e 100755
--- a/make_dist
+++ b/make_dist
@@ -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)
diff --git a/make_windows_releases b/make_windows_releases
index 59e30208..eb7fc7e5 100755
--- a/make_windows_releases
+++ b/make_windows_releases
@@ -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."