replaced abort() with EG_BUG
[engrid.git] / src / makedist.bash
blob71a14e29d1711213a8abbced2d83d158abe395f4
1 #!/bin/bash
2 cd src
3 qmake
4 make clean
5 cd ..
6 export version=$1
7 export tarname="enGrid_"$version".tar"
8 export gzname="enGrid_"$version".tar.gz"
9 export dirname="enGrid_"$version
10 tar cf $tarname src/*.h
11 tar -f $tarname -r src/*.cpp
12 tar -f $tarname -r src/*.cxx
13 tar -f $tarname -r src/*.ui
14 tar -f $tarname -r src/licence.txt
15 tar -f $tarname -r src/license.txt
16 tar -f $tarname -r src/resources/icons
17 tar -f $tarname -r src/resources/kde_icons
18 tar -f $tarname -r src/engrid.pro
19 tar -f $tarname -r src/engrid.qrc
20 tar -f $tarname -r src/math/*.h
21 tar -f $tarname -r src/netgen_svn/ng.pro
22 tar -f $tarname -r src/netgen_svn/config.h
23 tar -f $tarname -r src/build-nglib.sh
24 mkdir tmp
25 cd tmp
26 tar xf ../$tarname
27 mv src $dirname
28 tar czf $gzname $dirname
29 mv $gzname ..
30 cd ..
31 rm -rf tmp
32 rm $tarname