#!/bin/bash


#find ../../ru -name "*.c"   -exec cp -rf  {} ../test/src \;
#find ../../ru -name "*.dox" -exec cp -rf  {} ../test/dox/ru \;
#find ../../ru -name "*.plt" -exec cp -rf  {} ../test/bin/gnuplot \;

cd ../../
mingw32-make clean
mingw32-make

cd bin
for file in *.exe
do
    "./$file" --plotpng
done
cd ../dspl/dox

doxygen doxyfile_ru
doxygen doxyfile_en

#cd ../
#mingw32-make clean
#cd dox

#pkill -x gnuplot

