This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
deb-goldedplus/dist-gpw.sh

45 lines
1.6 KiB
Bash
Raw Normal View History

#!/bin/sh
# Create a archive 'gpw32-*.zip' (gpwYMMDD.zip) with Win32 (MinGW) build
# of the Golded+.
2005-11-05 21:36:39 +00:00
if [ ! "${TERM}" = "cygwin" ]
then
echo "This is not Cygwin enviroment, exit."
exit
fi
date=`date +%Y%m%d`
2005-11-06 12:51:16 +00:00
shortdate=`echo ${date} | sed s/^...//`
name=../gpw32-115-${date}.zip
2005-11-06 12:51:16 +00:00
shortname=../gpw${shortdate}.zip
sed -i.orig -e "s/\#define __GVER_POSTVERSION__ .*/\#define __GVER_POSTVERSION__ \"-b${date}\"/" golded3/mygolded.h
files="bin/gedcyg.exe bin/gncyg.exe bin/rddtcyg.exe"
2005-11-18 22:23:06 +00:00
files="${files} docs/copying docs/copying.lib golded.bat"
files="${files} docs/golded.html docs/golded.txt docs/goldnode.html"
files="${files} docs/goldnode.txt docs/license.txt docs/notework.txt"
files="${files} docs/rddt.html docs/rddt.txt docs/readme.txt"
files="${files} docs/rusfaq.txt docs/tips.txt docs/todowork.txt"
files="${files} docs/tokencfg.txt docs/tokentpl.txt"
2005-10-02 14:32:54 +00:00
printf 'GoldED+1.1.5 [Win32 binaries]\r\n' >bin/File_ID.Diz
printf '[Compiled using MinGW/Cygwin]\r\n' >>bin/File_ID.Diz
printf 'Snapshot (development version)\r\n' >>bin/File_ID.Diz
printf 'This is unstable release and\r\n' >>bin/File_ID.Diz
printf 'it should be used for testing.\r\n' >>bin/File_ID.Diz
printf '------------------------------\r\n' >>bin/File_ID.Diz
printf 'GoldED+ is a successor of the\r\n' >>bin/File_ID.Diz
printf 'wellknown GoldED mail editor.\r\n' >>bin/File_ID.Diz
printf '------------------------------\r\n' >>bin/File_ID.Diz
printf '*golded-plus.sourceforge.net* \r\n' >>bin/File_ID.Diz
2006-01-18 21:36:01 +00:00
rm bin/*cyg.exe
make clean
make
make strip
make docs
zip -9DXj ${name} bin/File_ID.Diz $files
2005-11-06 12:51:16 +00:00
cp ${name} ${shortname}