Create Documentation.txt when building the distribution kits.
This commit is contained in:
@@ -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
|
||||||
|
2752
Documentation.txt
2752
Documentation.txt
File diff suppressed because it is too large
Load Diff
@@ -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
|
||||||
@@ -110,13 +108,18 @@ fi
|
|||||||
|
|
||||||
# Cleanup release dir
|
# Cleanup release dir
|
||||||
LC_ALL=C date -u > phpMyAdmin/RELEASE-DATE-$1
|
LC_ALL=C date -u > phpMyAdmin/RELEASE-DATE-$1
|
||||||
find phpMyAdmin \( -name .cvsignore -o -name CVS \) -print0 | xargs -0 rm -rf
|
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
|
||||||
|
@@ -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}"
|
|
Reference in New Issue
Block a user