#!/bin/bash
# Copyright (c) 2000-2015 Synology Inc. All rights reserved.
make DESTDIR="$TmpInstDir" install

rm -rf "$TmpInstDir"/usr/{share,include}
rm -rf "$TmpInstDir"/usr/lib/{pkgconfig,*.*a}
if [ "x$NOSTRIP" != "xNOSTRIP" ]; then
	"$STRIP" "$TmpInstDir"/usr/lib/*.so
fi

# vim:ft=sh
