Build 8.3-named archives too
This commit is contained in:
parent
367d6f986d
commit
50dd51e260
@ -2,9 +2,14 @@
|
|||||||
|
|
||||||
# Create a archive 'gpc*.zip' with configuration files examples.
|
# 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
|
dir=cfgs
|
||||||
|
|
||||||
if [ -f ${name} ] ; then rm $name ; fi
|
if [ -f ${name} ] ; then rm $name ; fi
|
||||||
|
|
||||||
find ${dir} | grep -v CVS | zip -9 -@ -X ${name}
|
find ${dir} | grep -v CVS | zip -9 -@ -X ${name}
|
||||||
|
cp ${name} ${shortname}
|
||||||
|
@ -2,7 +2,10 @@
|
|||||||
|
|
||||||
# Create a archive 'gps*.tar.bz2' with all source tree
|
# 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} \
|
cd .. ; tar -jcf ${name} \
|
||||||
--exclude CVS \
|
--exclude CVS \
|
||||||
@ -34,3 +37,5 @@ cd .. ; tar -jcf ${name} \
|
|||||||
--exclude '*.a' \
|
--exclude '*.a' \
|
||||||
--exclude '*.o' \
|
--exclude '*.o' \
|
||||||
golded+
|
golded+
|
||||||
|
|
||||||
|
cp ${name} ${shortname}
|
||||||
|
@ -5,6 +5,8 @@
|
|||||||
|
|
||||||
date=`date +%Y%m%d`
|
date=`date +%Y%m%d`
|
||||||
name=../gpwin-115-${date}.zip
|
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
|
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
|
make docs
|
||||||
zip -9DXj ${name} Release/bin/File_ID.Diz $files
|
zip -9DXj ${name} Release/bin/File_ID.Diz $files
|
||||||
|
cp ${name} ${shortname}
|
||||||
|
@ -10,7 +10,9 @@ then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
date=`date +%Y%m%d`
|
date=`date +%Y%m%d`
|
||||||
|
shortdate=`echo ${date} | sed s/^...//`
|
||||||
name=../gpw32-115-${date}.zip
|
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
|
sed -i.orig -e "s/\#define __GVER_POSTVERSION__ .*/\#define __GVER_POSTVERSION__ \"-b${date}\"/" golded3/mygolded.h
|
||||||
|
|
||||||
@ -38,3 +40,4 @@ make
|
|||||||
make strip
|
make strip
|
||||||
make docs
|
make docs
|
||||||
zip -9DXj ${name} bin/File_ID.Diz $files
|
zip -9DXj ${name} bin/File_ID.Diz $files
|
||||||
|
cp ${name} ${shortname}
|
||||||
|
Reference in New Issue
Block a user