blob: 5e9e7e527e043f02393e7984457753643694208e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/bin/sh
PREFIX=$(readlink -f "${0%/*}")
AUTOCONF_FILES="aclocal.m4 autom4te.cache compile \
config.guess config.sub configure depcomp \
install-sh ltmain.sh Makefile.in missing \
ar-lib config.h.in"
TARGET=${PREFIX}/sila/.libs/sila.so
case $1 in
clean)
cd ${PREFIX}
test -f Makefile && make maintainer-clean
for file in ${AUTOCONF_FILES}; do
find -name "$file" | xargs -r rm -rf
done
exit 0
;;
esac
autoreconf --install ${PREFIX}
echo 'Run: "./configure ${CONFIGURE_FLAGS} && make"'
|