if [[ "$BUILD_MODE" != "DSSI plugin" ]]; then
  cp  src/zynaddsubfx  $INSTALL_ROOT/usr/bin/
fi  &&

if [[ "$BUILD_MODE" != "Standalone synth" ]]; then
  mkdir -p                     $INSTALL_ROOT/usr/lib/dssi/  &&
  cp  src_dssi/zynaddsubfx.so  $INSTALL_ROOT/usr/lib/dssi/
fi  &&

if [[ "$ZYN_EXAMPLES" == y ]]; then
  mkdir -p         $INSTALL_ROOT/usr/share/$SPELL/  &&
  cp -r  banks/    $INSTALL_ROOT/usr/share/$SPELL/  &&
  cp -r  presets/  $INSTALL_ROOT/usr/share/$SPELL/
fi
