WD=$PWD pushd ../.. svn up > $WD/version pushd pushd optimized make popd pushd debug make popd