Robert Rostohar | ba96a2c | 2016-07-01 22:42:12 +0200 | [diff] [blame] | 1 | @echo off |
| 2 | |
| 3 | REM ==================================================================================== |
| 4 | REM Batch file for generating |
| 5 | REM |
| 6 | REM Author : |
| 7 | REM Date : 7th April 2016 |
| 8 | REM Version : 1.0 |
| 9 | REM Company : ARM |
| 10 | REM |
| 11 | REM |
| 12 | REM Command syntax: genDoc.bat |
| 13 | REM |
| 14 | REM Version: 1.0 Initial Version. |
| 15 | REM ==================================================================================== |
| 16 | |
| 17 | SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION |
| 18 | |
| 19 | REM -- Delete previous generated HTML files --------------------- |
| 20 | ECHO. |
| 21 | ECHO Delete previous generated HTML files |
| 22 | |
| 23 | REM -- Remove generated doxygen files --------------------- |
| 24 | PUSHD ..\Documentation |
| 25 | FOR %%A IN (Core, DAP, Driver, DSP, General, Pack, RTOS, RTOS2, SVD) DO IF EXIST %%A (RMDIR /S /Q %%A) |
| 26 | POPD |
| 27 | |
| 28 | REM -- Generate New HTML Files --------------------- |
| 29 | ECHO. |
| 30 | ECHO Generate New HTML Files |
| 31 | |
| 32 | pushd Core |
| 33 | CALL doxygen_core.bat |
| 34 | popd |
| 35 | |
| 36 | pushd DAP |
| 37 | CALL doxygen_dap.bat |
| 38 | popd |
| 39 | |
| 40 | pushd Driver |
| 41 | CALL doxygen_driver.bat |
| 42 | popd |
| 43 | |
| 44 | pushd DSP |
| 45 | CALL doxygen_dsp.bat |
| 46 | popd |
| 47 | |
| 48 | pushd General |
| 49 | CALL doxygen_general.bat |
| 50 | popd |
| 51 | |
| 52 | pushd Pack |
| 53 | CALL doxygen_pack.bat |
| 54 | popd |
| 55 | |
| 56 | pushd RTOS |
| 57 | CALL doxygen_rtos.bat |
| 58 | popd |
| 59 | |
| 60 | pushd RTOS2 |
| 61 | CALL doxygen_rtos.bat |
| 62 | popd |
| 63 | |
| 64 | pushd SVD |
| 65 | CALL doxygen_svd.bat |
| 66 | popd |
| 67 | |
| 68 | REM -- Copy search style sheet --------------------- |
| 69 | ECHO. |
| 70 | ECHO Copy search style sheets |
| 71 | copy /Y Doxygen_Templates\search.css ..\Documentation\CORE\html\search\. |
| 72 | copy /Y Doxygen_Templates\search.css ..\Documentation\Driver\html\search\. |
| 73 | REM copy /Y Doxygen_Templates\search.css ..\Documentation\General\html\search\. |
| 74 | copy /Y Doxygen_Templates\search.css ..\Documentation\Pack\html\search\. |
| 75 | REM copy /Y Doxygen_Templates\search.css ..\Documentation\SVD\html\search\. |
| 76 | copy /Y Doxygen_Templates\search.css ..\Documentation\DSP\html\search\. |
| 77 | copy /Y Doxygen_Templates\search.css ..\Documentation\DAP\html\search\. |
Matthias Hertel | b73eaf3 | 2016-07-22 15:18:56 +0200 | [diff] [blame^] | 78 | copy /Y Doxygen_Templates\search.css ..\Documentation\RTOS\html\search\. |
| 79 | copy /Y Doxygen_Templates\search.css ..\Documentation\RTOS2\html\search\. |
Robert Rostohar | ba96a2c | 2016-07-01 22:42:12 +0200 | [diff] [blame] | 80 | |
| 81 | :END |
| 82 | ECHO. |
| 83 | REM done |