#!/bin/sh
##
## ssbuild-40install by ssbuild-template
## Copyright (c) 2002-2007 SATOH Fumiyasu, All rights reserved.
##
## Generated by: /opt/osstech/bin/ssbuild-template 2007-04-04
## Generated at: 2007-07-10 00:38:29
##

. "`dirname "$0"`/ssbuild-common"

cd "$SB_BUILD1_DIR"

if [ x"$SB_DEST_DIR" != x"/" ]; then
    rm -rf "$SB_DEST_DIR"
    mkdir "$SB_DEST_DIR"
    chmod g-s "$SB_DEST_DIR"
fi

make install \
DESTDIR="$SB_DEST_DIR" \
#FIXME 2>&1|tee "$SB_LOG_DIR/ssbuild-$SB_DATETIME.make_install.log"

find "$SB_DEST_DIR$SB_DEST_SYSCONF_DIR" -type f \
|while read file; do
    mv "$file" "$file.default"
done

