Last change
on this file since 117 was
117,
checked in by moretto, 11 years ago
|
ESAF version compilable on mac OS
|
File size:
803 bytes
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | # sh script used by the top Makefile to create a tar file with the ESAF |
---|
3 | # distribution |
---|
4 | # |
---|
5 | # $Id: CreateDistFile.sh 2865 2011-03-10 14:00:46Z naumov $ |
---|
6 | # 2002/01/23 D. De Marco - created |
---|
7 | # |
---|
8 | |
---|
9 | # Temporary File containing the name of the directory to be excluded |
---|
10 | # from distribution package |
---|
11 | TEF=/tmp/ESAF.CVS.Exclude |
---|
12 | |
---|
13 | # Directory containig the current distribution |
---|
14 | WD=$(basename $(pwd)) |
---|
15 | |
---|
16 | # timestamp |
---|
17 | DATE=$(date +%Y-%m-%d_%H.%M) |
---|
18 | |
---|
19 | cd .. |
---|
20 | find $WD -type d -name CVS > $TEF |
---|
21 | find $WD -type d -name .svn > $TEF |
---|
22 | |
---|
23 | echo ${WD}/bin >> $TEF |
---|
24 | echo ${WD}/lib >> $TEF |
---|
25 | echo ${WD}/output >> $TEF |
---|
26 | # Other directories to be excluded go here |
---|
27 | |
---|
28 | tar cfv ESAF_${DATE}.tar -X $TEF $WD |
---|
29 | gzip ESAF_${DATE}.tar |
---|
30 | rm $TEF |
---|
31 | |
---|
32 | echo -e "\n\n\nDistribution package created in: `pwd`/ESAF_${DATE}.tar.gz\n\n\n" |
---|
Note: See
TracBrowser
for help on using the repository browser.