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

make install DESTDIR="$TmpInstDir"

rm -rf "$TmpInstDir/"{etc,lib,share}

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