2005-10-02 13:42:37 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2005-11-06 14:05:27 +00:00
|
|
|
# Create a archives 'gps*.tar.bz2' and 'gps*.tb2' with all source tree
|
2005-10-02 13:42:37 +00:00
|
|
|
|
2005-11-06 12:51:16 +00:00
|
|
|
date=`date +%Y%m%d`
|
|
|
|
shortdate=`echo ${date} | sed s/^...//`
|
2005-11-26 01:29:49 +00:00
|
|
|
shortname=gps${shortdate}.tb2
|
2005-11-06 12:51:16 +00:00
|
|
|
name=gps115-${date}.tar.bz2
|
2005-10-02 13:42:37 +00:00
|
|
|
|
2006-02-18 14:08:47 +00:00
|
|
|
echo Build a Golded+ sources package: ${name} and ${shortname}
|
|
|
|
|
2005-10-02 13:42:37 +00:00
|
|
|
cd .. ; tar -jcf ${name} \
|
|
|
|
--exclude CVS \
|
|
|
|
--exclude golded+/golded3/mygolded.h \
|
|
|
|
--exclude golded+/goldlib/gall/obj \
|
|
|
|
--exclude golded+/obj \
|
|
|
|
--exclude golded+/lib \
|
2011-02-13 21:11:53 +00:00
|
|
|
--exclude golded+/bin/ged???* \
|
|
|
|
--exclude golded+/bin/gn???* \
|
|
|
|
--exclude golded+/bin/rddt???* \
|
2005-10-02 13:42:37 +00:00
|
|
|
--exclude golded+/Release \
|
2006-05-15 17:59:52 +00:00
|
|
|
--exclude golded+/Debug \
|
2010-03-14 18:43:56 +00:00
|
|
|
--exclude golded+/debian/golded+ \
|
|
|
|
--exclude golded+/windows/obj \
|
2005-10-09 08:49:12 +00:00
|
|
|
--exclude 'golded+/*.bat' \
|
|
|
|
--exclude 'golded+/*.BAT' \
|
|
|
|
--exclude 'golded+/*.cmd' \
|
|
|
|
--exclude 'golded+/*.CMD' \
|
2010-03-14 18:43:56 +00:00
|
|
|
--exclude 'mygolded.h' \
|
2005-10-24 14:24:12 +00:00
|
|
|
--exclude '.#*' \
|
2010-03-14 18:43:56 +00:00
|
|
|
--exclude 'cscope.out' \
|
2005-10-09 06:31:59 +00:00
|
|
|
--exclude '*.orig' \
|
2005-10-03 15:59:09 +00:00
|
|
|
--exclude 'bld*.inc' \
|
2005-10-02 13:42:37 +00:00
|
|
|
--exclude '*.diff' \
|
|
|
|
--exclude '*.tar.gz' \
|
|
|
|
--exclude '*.tgz' \
|
|
|
|
--exclude '*.tar.bz' \
|
|
|
|
--exclude '*.tbz' \
|
|
|
|
--exclude '*.tar.bz2' \
|
|
|
|
--exclude '*.tb2' \
|
|
|
|
--exclude '*.cpz' \
|
|
|
|
--exclude '*.rar' \
|
|
|
|
--exclude '*.zip' \
|
|
|
|
--exclude '*.7z' \
|
2005-10-03 15:54:02 +00:00
|
|
|
--exclude '*.exe' \
|
|
|
|
--exclude '*.a' \
|
|
|
|
--exclude '*.o' \
|
2010-03-14 18:43:56 +00:00
|
|
|
--exclude '**~' \
|
2005-10-02 13:42:37 +00:00
|
|
|
golded+
|
2005-11-06 12:51:16 +00:00
|
|
|
|
2010-03-14 18:43:56 +00:00
|
|
|
ln ${name} ${shortname} || cp ${name} ${shortname}
|