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

pushd build

make DESTDIR=$DebDevDir install

popd

# provide jpegint.h as it is required by various software
install -m644 jpegint.h $DebDevDir/$IncludeDir

rm -rf $DebDevDir/usr/{bin,man,share}
rm -rf $DebDevDir/$LibDir/*.la
