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-gpl.sh

37 lines
1.4 KiB
Bash
Raw Normal View History

2005-11-06 12:50:23 +00:00
#!/bin/sh
2005-11-06 14:05:27 +00:00
# Create a archive 'gpl-*.zip' (gplYMMDD.zip) with binary linux build
2005-11-06 12:50:23 +00:00
# of the Golded+.
date=`date +%Y%m%d`
shortdate=`echo ${date} | sed s/^...//`
shortname=../gpl${shortdate}.zip
2005-11-26 01:29:49 +00:00
name=../gpl115-${date}.zip
2005-11-06 12:50:23 +00:00
sed -i.orig -e "s/\#define __GVER_POSTVERSION__ .*/\#define __GVER_POSTVERSION__ \"-b${date}\"/" golded3/mygolded.h
files="bin/gedlnx.exe bin/gnlnx.exe bin/rddtlnx.exe"
files="${files} docs/copying docs/copying.lib"
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"
printf 'GoldED+1.1.5 [`uname` binaries]\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
make PLATFORM=lnx clean
make PLATFORM=lnx
make PLATFORM=lnx strip
make docs
zip -9DXj ${name} bin/File_ID.Diz $files
cp ${name} ${shortname}