-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrelease.sh
executable file
·88 lines (87 loc) · 1.67 KB
/
release.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
#!/usr/bin/env bash
function auto {
touch NEWS README AUTHORS ChangeLog COPYING
libtoolize --force --copy
aclocal
autoheader
automake -a -c
autoconf
}
case $1 in
tar)
auto
cd `dirname $0`/..
V=$2
if [ "$V" == "" ];then
V=0.0.1
fi
ln -s roma-php-client rmcc-${V}
tar czvhf rmcc-${V}.tar.gz \
rmcc-${V}/AUTHORS \
rmcc-${V}/COPYING \
rmcc-${V}/ChangeLog \
rmcc-${V}/INSTALL \
rmcc-${V}/Makefile.am \
rmcc-${V}/Makefile.in \
rmcc-${V}/NEWS \
rmcc-${V}/README \
rmcc-${V}/aclocal.m4 \
rmcc-${V}/autom4te.cache \
rmcc-${V}/config.guess \
rmcc-${V}/config.h.in \
rmcc-${V}/config.sub \
rmcc-${V}/configure \
rmcc-${V}/configure.in \
rmcc-${V}/depcomp \
rmcc-${V}/install-sh \
rmcc-${V}/ltmain.sh \
rmcc-${V}/m4 \
rmcc-${V}/missing \
rmcc-${V}/release.sh \
rmcc-${V}/src/INSTALL \
rmcc-${V}/src/Makefile.am \
rmcc-${V}/src/Makefile.in \
rmcc-${V}/src/build.sh \
rmcc-${V}/src/include \
rmcc-${V}/src/rmcc
rm rmcc-${V}
;;
clean)
rm -rf .deps \
Makefile.in \
aclocal.m4 \
confdefs.h \
config.h.in \
config.in.h \
config.sub \
configure.scan \
libtool \
missing \
Makefile \
autom4te.cache \
config.guess \
config.log \
configure \
depcomp \
ltmain.sh \
autoscan.log \
config.h \
config.status \
m4 \
stamp-h1 \
src/.deps \
src/Makefile.in \
src/Makefile \
src/include/Makefile.in \
src/include/Makefile
;;
all)
./build.sh clean
./build.sh
./configure --with-openssl-header=/usr/local/openssl/include --with-openssl-lib=/usr/local/openssl/lib
make
;;
*)
auto
;;
esac