config: replace custom code with reusable macro XORG_WITH_DOXYGEN

XORG_WITH_DOXYGEN provides additional functions like a configure
option which allow platform builders to control the usage of
the doxygen program.

This is a requirement from platforms that do not have such doc tool.
A platform with a back level doxygen may use --without-doxygen
to get the rest of the documentation built.

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
Gaetan Nadon 2010-01-21 14:21:07 -05:00 • committed by Keith Packard
commit 2984c18eb9
2 changed files with 4 additions and 11 deletions

View file

@ -62,7 +62,7 @@ dist-local: html/annotated.html
html/annotated.html: $(DOXYGEN_SRC)
$(DOXYGEN) $(srcdir)/doxygen.conf
clean-local:
maintainer-clean-local:
rm -rf html/
endif