#! /bin/bash

script_path=`dirname $0`
echo "script path:" ${script_path}
cd $script_path


### User Guide ###
pushd user_guide
  ./makelatexpdf.sh
  cp ./build/latex/Cambricon*.pdf ../../
  cp ./build/torch_mlu_ops_user_guide_html.zip ../../
popd

pushd release_notes
  ./makelatexpdf.sh
  cp ./build/latex/Cambricon*.pdf ../../
  cp ./build/torch_mlu_ops_release_notes_html.zip ../../
popd
