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:
committed by
Patrick Fallberg
parent
3d093e6bed
commit
7a33082eaf
@@ -3,8 +3,8 @@
|
|||||||
|
|
||||||
# Generate doxygen file for Raspberry Pi configure command
|
# 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
|
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
|
./configure --help >> configure.h
|
||||||
echo -e "@endverbatim\n@}*/\n" >> configure.h
|
echo -e "@endverbatim\n@}*/\n" >> configure.h
|
||||||
|
|
||||||
# Generate version information
|
# Generate version information
|
||||||
export PROJECTNUMBER=$(git fetch --tags; git describe --tags;)
|
export PROJECTNUMBER=$(git fetch --tags; git describe --tags;)
|
||||||
|
|||||||
Reference in New Issue
Block a user