anchor.diff:  set DISTCONTRIB=%DISTBASE%\ContributedPlugins
   set DOCDIST_EN=%DISTBASE%\EN\Documents
   set DOCDIST_JA=%DISTBASE%\JA\Documents
  -set BINDIR=\..\bin\Release
  +set BINDIR=%PROJDIR%\bin\Release
   
   RD /S /Q "%DISTBASE%"
   MD "%DISTBASE%"
  
positive.code: copy "%PROJDIR%\Misc\Macro\Sample\*.js" "%DIST%\Macro\Sample"
  
  MD "%DIST%\Portforwarding"
  copy "%PROJDIR%\Portforwarding%BINDIR%\Portforwarding.exe" "%DIST%\Portforwarding"
  copy "%PROJDIR%\Portforwarding%BINDIR%\Portforwarding.pdb" "%DIST%\Portforwarding"
  copy "%PROJDIR%\Granados%BINDIR%\Granados.dll" "%DIST%\Portforwarding"
  copy "%PROJDIR%\Granados%BINDIR%\Granados.pdb" "%DIST%\Portforwarding"
  
  copy "%PROJDIR%\LICENSE.txt" "%DIST%"
  copy "%PROJDIR%\ChangeLog.txt" "%DIST%"
  
negative.code: MD "%DOCDIST_EN%"
  MD "%DOCDIST_JA%"
  
  copy "%BINDIR%\Poderosa.exe" "%DIST%"
  copy "%BINDIR%\Poderosa.pdb" "%DIST%"
  
  copy "%BINDIR%\Poderosa.Plugin.dll" "%DIST%"
  copy "%BINDIR%\Poderosa.Plugin.pdb" "%DIST%"
  
  copy "%BINDIR%\Granados.dll" "%DIST%"
  copy "%BINDIR%\Granados.pdb" "%DIST%"
  
  for %%P in (Core Macro PortForwardingCommand Protocols SerialPort TerminalEmulator TerminalSession UI Usability XZModem Pipe SFTP) do (
    MD "%DIST%\%%P"
    copy "%BINDIR%\Poderosa.%%P.dll" "%DIST%\%%P"
    copy "%BINDIR%\Poderosa.%%P.pdb" "%DIST%\%%P"
  )
  
  MD "%DIST%\Protocols\Cygterm"
  