Commit 66eb490fdf7c5a5de56fb6d43b6be04fb55c68e0

Authored by Jay Berkenbilt
1 parent bad4ff96

make zip files

git-svn-id: svn+q:///qpdf/trunk@905 71b93d88-0707-0410-a8cf-f5a4172ac649
README.maintainer
@@ -45,9 +45,8 @@ Release Reminders @@ -45,9 +45,8 @@ Release Reminders
45 45
46 * To create Windows binary releases, extract the qpdf source 46 * To create Windows binary releases, extract the qpdf source
47 distribution in Windows (MSYS + MINGW, MSVC) and run 47 distribution in Windows (MSYS + MINGW, MSVC) and run
48 - ./make_windows_releases from there. You will have to manually  
49 - create zip files from the install-mingw and install-msys  
50 - directories; instructions are echoed by the script. 48 + ./make_windows_releases from there. You will need to have zip in
  49 + your path.
51 50
52 * Remember to copy README-what-to-download.txt separately onto the 51 * Remember to copy README-what-to-download.txt separately onto the
53 download area and make it the default for Windows platforms. 52 download area and make it the default for Windows platforms.
make_dist
@@ -52,7 +52,7 @@ $fh = safe_open("libqpdf/QPDF.cc"); @@ -52,7 +52,7 @@ $fh = safe_open("libqpdf/QPDF.cc");
52 my $code_version = 'unknown'; 52 my $code_version = 'unknown';
53 while (<$fh>) 53 while (<$fh>)
54 { 54 {
55 - if (m/QPDF::qpdf_version = ([^\"]+)\"/) 55 + if (m/QPDF::qpdf_version = \"([^\"]+)\"/)
56 { 56 {
57 $code_version = $1; 57 $code_version = $1;
58 last; 58 last;
@@ -91,7 +91,7 @@ if ($version ne $config_version) @@ -91,7 +91,7 @@ if ($version ne $config_version)
91 } 91 }
92 if ($version ne $code_version) 92 if ($version ne $code_version)
93 { 93 {
94 - print "$whoami: qpdf.cc version = $code_version\n"; 94 + print "$whoami: QPDF.cc version = $code_version\n";
95 $version_error = 1; 95 $version_error = 1;
96 } 96 }
97 if ($version ne $doc_version) 97 if ($version ne $doc_version)
make_windows_releases
@@ -21,8 +21,14 @@ make distclean @@ -21,8 +21,14 @@ make distclean
21 cp -p README-windows-install.txt install-mingw/qpdf*/README.txt 21 cp -p README-windows-install.txt install-mingw/qpdf*/README.txt
22 cp -p README-windows-install.txt install-msvc/qpdf*/README.txt 22 cp -p README-windows-install.txt install-msvc/qpdf*/README.txt
23 23
  24 +cd install-mingw
  25 +v=qpdf-*
  26 +zip -r ../$v-bin-mingw.zip $v
  27 +cd ../install-msys
  28 +zip -r ../$v-bin-msvc.zip $v
  29 +cd ..
  30 +
24 set +x 31 set +x
25 32
26 echo "" 33 echo ""
27 -echo "Create qpdf-VERSION-bin-mingw.zip from install-mingw."  
28 -echo "Create qpdf-VERSION-bin-msvc.zip from install-msvc." 34 +echo "$v-bin-mingw.zip adn $v-bin-msvc.zip have been created."