From 51086aa6c92c279121966ab4f5797735fac3893f Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Thu, 5 Oct 2006 21:01:24 +0000 Subject: [PATCH] starting changes for new distribution kits --- ChangeLog | 6 ++++++ scripts/create-release.sh | 38 ++++++++++++++++++++++++++++++++++---- 2 files changed, 40 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 000356b69..92e922e7b 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,12 @@ phpMyAdmin - ChangeLog $Id$ $Source$ +2006-10-05 Marc Delisle + * scripts/create-release.sh: starting changes for new kits + TODO: - trimming of libraries/select_lang.lib.php in the kit + - 7zip + - remove gzip ? + 2006-10-04 Michal Čihař * Documentation.html: Fixes thanks to Matt LaPlante - cyberdog3k. - Fix Wikipedia URLs (patch #1568498). diff --git a/scripts/create-release.sh b/scripts/create-release.sh index 2da7ac4e8..6ac4249ae 100755 --- a/scripts/create-release.sh +++ b/scripts/create-release.sh @@ -191,10 +191,40 @@ LC_ALL=C w3m -dump phpMyAdmin/Documentation.html > phpMyAdmin/Documentation.txt mv phpMyAdmin phpMyAdmin-$target # Building distribution kits -zip -9 -r phpMyAdmin-${target}.zip phpMyAdmin-${target} -tar cvf phpMyAdmin-${target}.tar phpMyAdmin-${target} -bzip2 -9kv phpMyAdmin-${target}.tar -gzip -9v phpMyAdmin-${target}.tar + +suffix="-all-languages" +zip -9 -r phpMyAdmin-${target}${suffix}.zip phpMyAdmin-${target} +tar cvf phpMyAdmin-${target}${suffix}.tar phpMyAdmin-${target} +bzip2 -9kv phpMyAdmin-${target}${suffix}.tar +gzip -9v phpMyAdmin-${target}${suffix}.tar + +cd phpMyAdmin-${target}/lang +mkdir tmp +mv *utf-8.inc.php tmp +rm *.inc.php +mv tmp/* . +rmdir tmp + +cd ../.. +suffix="-all-languages-utf-8-only" +zip -9 -r phpMyAdmin-${target}${suffix}.zip phpMyAdmin-${target} +tar cvf phpMyAdmin-${target}${suffix}.tar phpMyAdmin-${target} +bzip2 -9kv phpMyAdmin-${target}${suffix}.tar +gzip -9v phpMyAdmin-${target}${suffix}.tar + +cd phpMyAdmin-${target}/lang +mkdir tmp +mv english-utf-8.inc.php tmp +rm *.inc.php +mv tmp/* . +rmdir tmp + +cd ../.. +suffix="-english" +zip -9 -r phpMyAdmin-${target}${suffix}.zip phpMyAdmin-${target} +tar cvf phpMyAdmin-${target}${suffix}.tar phpMyAdmin-${target} +bzip2 -9kv phpMyAdmin-${target}${suffix}.tar +gzip -9v phpMyAdmin-${target}${suffix}.tar # Cleanup rm -rf phpMyAdmin-${target}