Add initial Doxygen support for generating api documentation.
[opus.git] / doc / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2
3 DOCINPUTS = $(top_srcdir)/src/opus.h \
4             $(top_srcdir)/src/opus_multistream.h \
5             $(top_srcdir)/libcelt/opus_defines.h \
6             $(top_srcdir)/libcelt/opus_types.h
7
8 doc_DATA = doxygen-build.stamp
9
10 EXTRA_DIST = Doxyfile.in
11
12 if HAVE_DOXYGEN
13 doxygen-build.stamp: Doxyfile $(DOCINPUTS)
14         doxygen
15         touch $@
16 else
17 doxygen-build.stamp: Doxyfile $(DOCINPUTS)
18         @echo "*** Warning: Doxygen not found; API documentation will not be built."
19         touch $@
20 endif