From 298ced2375aad00978b10607d460a5e2a4138356 Mon Sep 17 00:00:00 2001 From: Stas Degteff Date: Sun, 2 Oct 2005 13:42:37 +0000 Subject: [PATCH] Add scripts to compose gpc-*.zip and gps-*.tar.bz2 --- dist-gpc.sh | 10 ++++++++++ dist-gps.sh | 28 ++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100755 dist-gpc.sh create mode 100755 dist-gps.sh diff --git a/dist-gpc.sh b/dist-gpc.sh new file mode 100755 index 0000000..adce6cf --- /dev/null +++ b/dist-gpc.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +# Create a archive 'gpc*.zip' with configuration files examples. + +name=gpc115-`date +%Y%m%d`.zip +dir=cfgs + +if [ -f ${name} ] ; then rm $name ; fi + +find ${dir} | grep -v CVS | zip -9 -@ -X ${name} diff --git a/dist-gps.sh b/dist-gps.sh new file mode 100755 index 0000000..d336a87 --- /dev/null +++ b/dist-gps.sh @@ -0,0 +1,28 @@ +#!/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 '*.diff' \ + --exclude '*.tar.gz' \ + --exclude '*.tgz' \ + --exclude '*.tar.bz' \ + --exclude '*.tbz' \ + --exclude '*.tar.bz2' \ + --exclude '*.tb2' \ + --exclude '*.cpz' \ + --exclude '*.rar' \ + --exclude '*.zip' \ + --exclude '*.7z' \ + golded+