Skip to content

Commit 7a33082

Browse files
mfalkviddfallberg
authored andcommitted
Simplify doxygen for ./configure (#1080)
No need to grep when we have a command that outputs exactly what we want.
1 parent 3d093e6 commit 7a33082

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/doxygen.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
# Generate doxygen file for Raspberry Pi configure command
55
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
6-
grep -A999 '<<EOF' configure | grep -B999 EOF | grep -v 'EOF' >> configure.h
7-
echo -e "@endverbatim\n@}*/\n" >> configure.h
6+
./configure --help >> configure.h
7+
echo -e "@endverbatim\n@}*/\n" >> configure.h
88

99
# Generate version information
1010
export PROJECTNUMBER=$(git fetch --tags; git describe --tags;)

0 commit comments

Comments
 (0)