build: do not build documentation automatically
Pablo Neira Ayuso
maintainerPATCH v2 1/1 build: do not build documentation automatically
Make it optional. After this update it is still possible to build the documentation via:
./configure --with-doxygen=yes
if ./configure finds doxygen. Update README to include this information.
Signed-off-by Pablo Neira Ayuso <[email protected]>
--- README | 11 +++++++++++ configure.ac | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-)
README +11 -0
@@ -18,6 +18,17 @@ on top of this library. is reduced, i.e. the library provides many helpers, but the programmer is not forced to use them. += Documentation = + +If doxygen is installed on your system, you can enable it via: + + ./configure --with-doxygen=yes + +then type `make`. + +To access the doxygen documentation, open the doxygen/html/index.html file with +a web browser. + = Example files = You can find several example files under examples/ that you can compile by
configure.ac +1 -1
@@ -45,7 +45,7 @@ AC_CONFIG_FILES([Makefile AC_ARG_WITH([doxygen], [AS_HELP_STRING([--with-doxygen], [create doxygen documentation])], - [with_doxygen="$withval"], [with_doxygen=yes]) + [with_doxygen="$withval"], [with_doxygen=no]) AS_IF([test "x$with_doxygen" != xno], [ AC_CHECK_PROGS([DOXYGEN], [doxygen])
Signature · 1 line
2.30.2
Quoted 8 lines · Pablo Neira Ayuso
Make it optional. After this update it is still possible to build the documentation via:
./configure --with-doxygen=yesif ./configure finds doxygen. Update README to include this information.
Signed-off-by Pablo Neira Ayuso <[email protected]>
Acked-by Phil Sutter <[email protected]>