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


case ${CleanOnly} in
	[Yy][Ee][Ss])
		return
		;;
esac

make DESTDIR=$DebDevDir install # For APT

rm -r ${DebDevDir}/usr/share

# These two headers won't be install by 'make install'
install_inotify()
{
	local DEST=$1
	cp libinotifytools/src/inotifytools_p.h $DEST/include/inotifytools
	cp libinotifytools/src/redblack.h $DEST/include/inotifytools
}

install_inotify "$DebDevDir/usr" # For APT

