#!/bin/bash
# Copyright (c) 2000-2014 Synology Inc. All rights reserved.

make install-exec \
    DESTDIR="$TmpInstDir" \
    prefix="/usr" \
    usrbin_execdir="/usr/bin"

rm "$TmpInstDir/usr/lib/"*.{a,la}

if [ "$NOSTRIP" != "NOSTRIP" ]; then
    $STRIP "$TmpInstDir/usr/bin/"*
    $STRIP "$TmpInstDir/usr/sbin/"*
    $STRIP "$TmpInstDir/usr/lib/"*
fi

