Create Documentation.txt when building the distribution kits.

This commit is contained in:
Alexander M. Turek
2003-11-20 23:40:48 +00:00
parent 33ef5ea4c2
commit 56587b5685
4 changed files with 12 additions and 2784 deletions

View File

@@ -9,6 +9,9 @@ $Source$
* server_databases.php, server_processlist.php, server_status.php, * server_databases.php, server_processlist.php, server_status.php,
server_variables.php: Removed some php 3 / MySQL 3.21 compatibility code. server_variables.php: Removed some php 3 / MySQL 3.21 compatibility code.
* README: Updated requirements. * README: Updated requirements.
* scripts/create-release.sh: Create Documentation.txt when building the
distribution kits.
* Documentation.txt, scripts/updatedocs.sh: Romoved.
2003-11-20 Michal Cihar <nijel@users.sourceforge.net> 2003-11-20 Michal Cihar <nijel@users.sourceforge.net>
* read_dump.php: Show message about failing upload in all cases, removed * read_dump.php: Show message about failing upload in all cases, removed

File diff suppressed because it is too large Load Diff

View File

@@ -71,9 +71,7 @@ Please ensure you have:
" <h1>phpMyAdmin $1 Documentation</h1> " " <h1>phpMyAdmin $1 Documentation</h1> "
- in translators.html - in translators.html
- in README - in README
2. built the new "Documentation.txt" version using: 2. synchronized the language files:
"./scripts/updatedocs.sh"
3. synchronized the language files:
cd lang cd lang
./sync_lang.sh ./sync_lang.sh
and checked all language files are valid (use and checked all language files are valid (use
@@ -114,9 +112,14 @@ find phpMyAdmin \( -name .cvsignore -o -name CVS \) -print0 | xargs -0 rm -rf
find phpMyAdmin -type d -print0 | xargs -0 chmod 755 find phpMyAdmin -type d -print0 | xargs -0 chmod 755
find phpMyAdmin -type f -print0 | xargs -0 chmod 644 find phpMyAdmin -type f -print0 | xargs -0 chmod 644
find phpMyAdmin \( -name '*.sh' -o -name '*.pl' \) -print0 | xargs -0 chmod 755 find phpMyAdmin \( -name '*.sh' -o -name '*.pl' \) -print0 | xargs -0 chmod 755
# Building Documentation.txt
lynx --dont_wrap_pre --nolist --dump phpMyAdmin/Documentation.html > phpMyAdmin/Documentation.txt
# Renaming directory
mv phpMyAdmin phpMyAdmin-$1 mv phpMyAdmin phpMyAdmin-$1
# Roll up '.php' release # Building distribution kits
zip -9 -r phpMyAdmin-$1.zip phpMyAdmin-$1 zip -9 -r phpMyAdmin-$1.zip phpMyAdmin-$1
tar cvf phpMyAdmin-$1.tar phpMyAdmin-$1 tar cvf phpMyAdmin-$1.tar phpMyAdmin-$1
bzip2 -9kv phpMyAdmin-$1.tar bzip2 -9kv phpMyAdmin-$1.tar
@@ -165,7 +168,7 @@ Todo now:
mput cvs/*.gz *.zip *.bz2 mput cvs/*.gz *.zip *.bz2
3. add files to SF files page (cut and paste changelog since last release) 3. add files to SF files page (cut and paste changelog since last release)
4. add SF news item to phpMyAdmin project 4. add SF news item to phpMyAdmin project
5. update the download page: /home/groups/p/ph/phpmyadmin/htdocs 5. update the download page: /home/groups/p/ph/phpmyadmin/htdocs/home_page/downloads.php
6. announce release on freshmeat (http://freshmeat.net/projects/phpmyadmin/) 6. announce release on freshmeat (http://freshmeat.net/projects/phpmyadmin/)
7. send a short mail (with list of major changes) to 7. send a short mail (with list of major changes) to
phpmyadmin-devel@lists.sourceforge.net phpmyadmin-devel@lists.sourceforge.net

View File

@@ -1,26 +0,0 @@
#!/bin/sh
#
# $Id$
#
# Script to build plain text documentation from the HTML version
#
SRC=Documentation.html
DST=Documentation.txt
OPTIONS="--dont_wrap_pre --nolist --dump"
CMD=lynx
TMPDOCDIRS=".. . `pwd` `pwd`/`dirname ${0}`/.. `dirname ${0}`/.."
for dir in ${TMPDOCDIRS}; do
[ -e "${dir}/${SRC}" ] && DOCDIR="${dir}"
[ -n "${DOCDIR}" ] && break
done
unset TMPDOCDIRS
if [ -z "${DOCDIR}" ]; then
echo 'Unable to locate documentation!'
exit -1
fi
SRC="${DOCDIR}/${SRC}"
DST="${DOCDIR}/${DST}"
${CMD} ${OPTIONS} "${SRC}" > "${DST}"