File: archive.sh

package info (click to toggle)
ebview 0.3.6-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 3,284 kB
  • ctags: 1,895
  • sloc: ansic: 24,291; sh: 7,092; xml: 1,771; makefile: 322; sed: 93
file content (27 lines) | stat: -rwxr-xr-x 321 bytes parent folder | download | duplicates (8)
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
#!/bin/sh

if [ x"$1" = x ] ; then
  echo "Usage : archive.sh version"
  exit 1
fi

echo "aclocal -I m4"
aclocal -I m4

echo automake
automake

echo "autoheader"
autoheader

echo "autoconf"
autoconf

echo "removing *~"
find . -name '*~' -exec rm -f {} \;

echo "tar"
cd ..
tar cfz ebview-$1.tar.gz ebview-$1

echo "done"