forked from dase/CLAIMS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sh
executable file
·36 lines (31 loc) · 860 Bytes
/
build.sh
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
#!/bin/sh
#autoreconf --install
export AUTOM4TE="autom4te"
export AUTOCONF="autoconf"
case "x$1" in
xinit)
set -x
aclocal
libtoolize --force --copy --automake
autoconf --force
automake --foreign --copy --add-missing -Woverride
;;
xclean)
echo 'cleaning...'
make distclean >/dev/null 2>&1
rm -rf autom4te.cache
rm -rf install
rm -rf bin
for fn in aclocal.m4 configure config.guess config.sub depcomp install-sh \
ltmain.sh libtool missing mkinstalldirs config.log config.status Makefile; do
rm -f $fn
done
find . -name Makefile.in -exec rm -f {} \;
find . -name Makefile -exec rm -f {} \;
find . -name .deps -prune -exec rm -rf {} \;
echo 'done'
;;
*)
./configure
;;
esac