Build 8.3-named archives too

This commit is contained in:
Stas Degteff 2005-11-06 12:51:16 +00:00
parent 367d6f986d
commit 50dd51e260
4 changed files with 18 additions and 2 deletions

View File

@ -2,9 +2,14 @@
# Create a archive 'gpc*.zip' with configuration files examples.
name=../gpc115-`date +%Y%m%d`.zip
date=`date +%Y%m%d`
shortdate=`echo ${date} | sed s/^...//`
shortname=../gpc${shortdate}.zip
name=gpc115-${date}.tar.bz2
dir=cfgs
if [ -f ${name} ] ; then rm $name ; fi
find ${dir} | grep -v CVS | zip -9 -@ -X ${name}
cp ${name} ${shortname}

View File

@ -2,7 +2,10 @@
# Create a archive 'gps*.tar.bz2' with all source tree
name=gps115-`date +%Y%m%d`.tar.bz2
date=`date +%Y%m%d`
shortdate=`echo ${date} | sed s/^...//`
shortname=../gps${shortdate}.zip
name=gps115-${date}.tar.bz2
cd .. ; tar -jcf ${name} \
--exclude CVS \
@ -34,3 +37,5 @@ cd .. ; tar -jcf ${name} \
--exclude '*.a' \
--exclude '*.o' \
golded+
cp ${name} ${shortname}

View File

@ -5,6 +5,8 @@
date=`date +%Y%m%d`
name=../gpwin-115-${date}.zip
shortdate=`echo ${date} | sed s/^...//`
shortname=../gpv${shortdate}.zip
sed -i.orig -e "s/\#define __GVER_POSTVERSION__ .*/\#define __GVER_POSTVERSION__ \"-b${date}\"/" golded3/mygolded.h
@ -32,3 +34,4 @@ printf ' *http://golded-plus.sf.net* \r\n' >>Release/bin/File_ID.Diz
make docs
zip -9DXj ${name} Release/bin/File_ID.Diz $files
cp ${name} ${shortname}

View File

@ -10,7 +10,9 @@ then
fi
date=`date +%Y%m%d`
shortdate=`echo ${date} | sed s/^...//`
name=../gpw32-115-${date}.zip
shortname=../gpw${shortdate}.zip
sed -i.orig -e "s/\#define __GVER_POSTVERSION__ .*/\#define __GVER_POSTVERSION__ \"-b${date}\"/" golded3/mygolded.h
@ -38,3 +40,4 @@ make
make strip
make docs
zip -9DXj ${name} bin/File_ID.Diz $files
cp ${name} ${shortname}