File: archive.sh

package info (click to toggle)
ebview 0.3.6.2-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 4,040 kB
  • sloc: ansic: 35,577; sh: 10,714; xml: 1,771; makefile: 607; yacc: 291
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"