identiconpp/build_doc.sh

8 lines
201 B
Bash
Raw Permalink Normal View History

2019-07-30 11:33:35 +02:00
#!/bin/bash
2018-12-25 18:33:19 +01:00
2019-07-30 11:33:35 +02:00
if [[ -f Doxyfile ]]; then
2018-12-25 18:33:19 +01:00
mkdir -p doc
2019-07-30 11:33:35 +02:00
(doxygen -s -g - && cat Doxyfile && echo -n "PROJECT_NUMBER = " &&
grep -Eo '[0-9]+.[0-9]+.[0-9]+$' CMakeLists.txt) | doxygen -
2018-12-25 18:33:19 +01:00
fi