Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tools/tarball
blob: d816a50c57a4f29d5f79f32dcced478d304c8245 (plain)
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
#!/bin/sh
# Creates a recent tarball.
# Assumes that the directory name is XaoS/tools where we currently are.
# Be careful: this script will delete files without asking questions!

NAME=xaos-3.5

test -x tarball || exit 1 # Sorry, this script should be run inside its directory.

./mkChangeLog
cd ..
./configure
cd doc
make clean
make
cd ../help
make clean
make
cd ..
make clean
make distclean
rm -fR autom4te.cache
cd ..
rm -fR /tmp/xaos /tmp/$NAME /tmp/$NAME.tar.gz
cp -a xaos /tmp
cd /tmp
mv xaos $NAME
cd $NAME
find -name .svn | xargs rm -fR
cd ..
tar czf $NAME.tar.gz $NAME