#!/bin/sh

# Create a archive 'gps*.tar.bz2' with all source tree

name=gps115-`date +%Y%m%d`.tar.bz2

cd .. ; tar -jcf ${name} \
	--exclude CVS \
	--exclude golded+/golded3/mygolded.h \
	--exclude golded+/goldlib/gall/obj \
	--exclude golded+/obj \
	--exclude golded+/lib \
	--exclude golded+/bin \
	--exclude golded+/Release \
	--exclude golded+/*.bat \
	--exclude golded+/*.cmd \
	--exclude 'bld*.inc' \
	--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' \
	--exclude '*.exe' \
	--exclude '*.a' \
	--exclude '*.o' \
	golded+
