docs: fix doxygen make distcheck breakage

The docs directory needs to be handled properly, e.g., create Makefile
which nothing, when doxygen is not enabled.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
Sami Kerola 2013-01-15 20:24:58 +00:00
parent e50d0a7d38
commit 625c54d834
2 changed files with 3 additions and 6 deletions

View file

@ -128,7 +128,7 @@ AS_IF([test x$enable_doxygen = xyes], [
AC_CHECK_PROGS([DOXYGEN], [doxygen])
AS_IF([test "x$DOXYGEN" = "x"],
AC_MSG_ERROR([doxygen not in path]),
AC_CONFIG_FILES([doc/Makefile doc/doxy.conf])
AC_CONFIG_FILES([doc/doxy.conf])
)
AC_CHECK_PROGS([DOXYGEN_DOT], [dot])
@ -146,6 +146,7 @@ AC_CONFIG_FILES([
man/Makefile
man/dhcpd-pools.1
tests/Makefile
doc/Makefile
contrib/Makefile
])