default_pre_build        &&
cd  "$SOURCE_DIRECTORY"  &&

# Use INSTALL_ROOT
sed -i  "s|/usr|\"$INSTALL_ROOT/usr\"|"  Makefile

# Remove 'plugins' and 'test' targets if examples not selected
if [[ $VAMP_EXAMPLES != y ]]
then
  sed -i  "s|\(^all:.*\)plugins|\1|"  Makefile  &&
  sed -i  "s|\(^all:.*\)test|\1|"     Makefile
fi
