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

make DESTDIR="$TmpInstDir" install

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

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