identiconpp/build_doc.sh

9 lines
185 B
Bash
Raw Normal View History

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