-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathallgen.sh
executable file
·65 lines (52 loc) · 1.04 KB
/
allgen.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
_prefix=/usr
_bindir=/usr/bin
PARAMETER=$1
if [ `uname -m` != "x86_64" ]
then
_locallibs=/usr/local/lib
else
_locallibs=/usr/local/lib64
fi
cd cngplp
if [ $PARAMETER = "-deb" ]
then
./autogen.sh --prefix=${_prefix} --libdir=/usr/lib
else
./autogen.sh --libdir=${_locallibs}
fi
cd files
./autogen.sh
cd ..
cd ..
cd driver
./autogen.sh --prefix=${_prefix} --enable-progpath=${_bindir} --disable-static
cd -
cd backend
./autogen.sh --prefix=${_prefix} --enable-progpath=${_bindir}
cd -
cd pstocapt
./autogen.sh --prefix=${_prefix} --enable-progpath=${_bindir}
cd -
cd pstocapt2
./autogen.sh --prefix=${_prefix} --enable-progpath=${_bindir}
cd -
cd pstocapt3
./autogen.sh --prefix=${_prefix} --enable-progpath=${_bindir}
cd -
cd ppd
./autogen.sh --prefix=${_prefix}
cd -
cd statusui
if [ -x /usr/bin/automake-1.6 ] ; then
./autogen.sh
elif [ -x /usr/bin/automake-1.7 ] ; then
./autogen.sh
elif [ -x /usr/bin/automake-1.8 ] ; then
./autogen.sh
elif [ -x /usr/bin/automake-1.9 ] ; then
./autogen.sh
else
./autogen-old.sh
fi
cd -
make