5 if test -z "$INSTALL_PREFIX"; then
9 HEADER_LOC
="$INSTALL_PREFIX/include/"
10 LIB_LOC
="$INSTALL_PREFIX/lib/"
11 BIN_LOC
="$INSTALL_PREFIX/bin/"
14 echo "INSTALL headers"
15 install -m 775 -d "${HEADER_LOC}GP"
16 for i
in `ls include/`; do
17 if [ -d "include/$i" ]; then
19 install -m 775 -d "${HEADER_LOC}GP/$i"
20 install -m 664 "include/$i/"*.h
"${HEADER_LOC}GP/$i"
22 install -m 664 "include/$i" "${HEADER_LOC}GP/$i"
27 echo "INSTALL libraries"
28 install -m 775 -d "$LIB_LOC"
29 install -m 664 build
/*.so build
/*.so
.0 build
/*.a
"$LIB_LOC"
32 echo "INSTALL binaries"
33 install -m 755 gfxprim-config
"$BIN_LOC"