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

make DESTDIR=$TmpInstDir install

rm -rf $TmpInstDir/$LibDir/{*.*a,pkgconfig}
rm -rf $TmpInstDir/usr/{include,share}

if [ "x$NOSTRIP" != "xNOSTRIP" ]; then
	${STRIP} ${TmpInstDir}${LibDir}/*.so
fi

# vim:ft=sh
