Simplify doxygen for ./configure (#1080)

No need to grep when we have a command that outputs
exactly what we want.
This commit is contained in:
Mikael Falkvidd
2018-03-12 11:47:39 +01:00
committed by Patrick Fallberg
parent 3d093e6bed
commit 7a33082eaf
+2 -2
View File
@@ -3,8 +3,8 @@
# Generate doxygen file for Raspberry Pi configure command
echo -e "/**\n * @defgroup RaspberryPiGateway Raspberry Pi Gateway\n * @ingroup MyConfigGrp\n * @brief Configuration options for the Raspberry Pi Gateway\n@{\n@verbatim" > configure.h
grep -A999 '<<EOF' configure | grep -B999 EOF | grep -v 'EOF' >> configure.h
echo -e "@endverbatim\n@}*/\n" >> configure.h
./configure --help >> configure.h
echo -e "@endverbatim\n@}*/\n" >> configure.h
# Generate version information
export PROJECTNUMBER=$(git fetch --tags; git describe --tags;)