#!/bin/bash

cd libraries/drivers
doxygen Doxyfile
cd -
rm doc/drivers -rf
mv libraries/drivers/doxygen doc/drivers -f

cd libraries/CanProtocol
doxygen Doxyfile
cd -
rm doc/CanProtocol -rf
mv libraries/CanProtocol/doxygen doc/CanProtocol -f

cd Devices/ManualMode
doxygen Doxyfile
cd -
rm doc/ManualMode -rf
mv Devices/ManualMode/doxygen doc/ManualMode -f

cd Devices/BusInterface
doxygen Doxyfile
cd -
rm doc/BusInterface -rf
mv Devices/BusInterface/doxygen doc/BusInterface -f

cd Devices/OlimexH107_BusInterface
doxygen Doxyfile
cd -
rm doc/OlimexH107_BusInterface -rf
mv Devices/OlimexH107_BusInterface/doxygen doc/OlimexH107_BusInterface -f
