starting changes for new distribution kits

This commit is contained in:
Marc Delisle
2006-10-05 21:01:24 +00:00
parent 87e73d3dba
commit 51086aa6c9
2 changed files with 40 additions and 4 deletions

View File

@@ -5,6 +5,12 @@ phpMyAdmin - ChangeLog
$Id$
$Source$
2006-10-05 Marc Delisle <lem9@users.sourceforge.net>
* 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ř <michal@cihar.com>
* Documentation.html: Fixes thanks to Matt LaPlante - cyberdog3k.
- Fix Wikipedia URLs (patch #1568498).

View File

@@ -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}