-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathblddev.sh
More file actions
executable file
·41 lines (35 loc) · 840 Bytes
/
Copy pathblddev.sh
File metadata and controls
executable file
·41 lines (35 loc) · 840 Bytes
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
35
36
37
38
39
40
#!/bin/bash
#########################################
# Build script for local developement
#########################################
installdir=$(pwd)/install/
libdir=${installdir}lib/ylisp
rm -rf ${installdir}
mkdir -p ${installdir}
while getopts "bs" opt; do
case $opt in
b)
rm -rf autom4te.cache
aclocal
autoheader
autoconf
automake
./configure --prefix="${installdir}" --with-debug=v
make clean
;;
s)
rm -rf autom4te.cache
aclocal
autoheader
autoconf
automake
./configure --prefix="${installdir}" --with-static --with-debug=v
make clean
;;
*)
exit 1
;;
esac
done
make
make install