anchor.diff:  popd
   goto :EOF
   
  +REM ----------------------------
   :wrongdir
   pushd .
   echo You must be in the src directory to run the makedist.bat script!
   goto error
   
  +REM ----------------------------
   :error
   popd
   cd %OLDDIR%
  
positive.code: goto build
  
  :help
  echo usage: makedist.bat [-bump]
  echo  -bump: increment version number and tag mercurial repository
  goto done
  
  REM ------------------------------------------------------------------
  REM Build settings
  
  :build
  echo setting build settings...
  set PROJECT_NAME=neurolab_all
  set SHADOW_DIR=..\%PROJECT_NAME%-build-desktop
  set DISTRIB_DIR=..\distrib
  
  set QT_DIST_DIR=C:\Qt\2010.02.1
  set QTDIR=%QT_DIST_DIR%\qt
  set QMAKESPEC=win32-g++
  
  
negative.code: popd
  goto :EOF
  
  REM ----------------------------
  :bump
  echo incrementing version...
  pushd .
  