File: make.guib

package info (click to toggle)
espresso 6.7-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 311,068 kB
  • sloc: f90: 447,429; ansic: 52,566; sh: 40,631; xml: 37,561; tcl: 20,077; lisp: 5,923; makefile: 4,503; python: 4,379; perl: 1,219; cpp: 761; fortran: 618; java: 568; awk: 128
file content (43 lines) | stat: -rwxr-xr-x 581 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#!/bin/sh


#
# create a $PWGUI/lib directory if it doesn't exist
#
here=$(pwd)
if [ ! -d lib ]; then
    mkdir lib
fi

if [ -d lib/Guib-* ]; then
    rm -rf lib/Guib-*
fi


#
# create a complete Guib archive out of SVN + plus add the TclTkLib 
#
cd ..
if [ -d Guib ]; then
    echo "
 *** WARNING ***

  the directory ../Guib exists, cannot proceed due to security reasons !!!

 *** STOPPING ...

"
    exit 1
fi

svn co Guib >& /dev/null
cd Guib
guib_root=$(pwd)
version=$(cat VERSION)
make clean
make

cd $here/lib
tar zxvf $guib_root/guib-$version.tgz 
rm -rf $guib_root
exit 0