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

make DESTDIR=$TmpInstDir install

rm -rf $TmpInstDir/include
rm -rf $TmpInstDir/lib
find $TmpInstDir/bin -type f ! -name certtool -delete

if [ "x$NOSTRIP" != "xNOSTRIP" ]; then
	${STRIP} $TmpInstDir/bin/certtool
fi
