Use #pragma GCC diagnostic push/pop only on gcc 4.6 and later.
[opus.git] / doc / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2
3 DOCINPUTS = $(top_srcdir)/include/opus.h \
4             $(top_srcdir)/include/opus_multistream.h \
5             $(top_srcdir)/include/opus_defines.h \
6             $(top_srcdir)/include/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
21
22 # delete doxygen subdirs
23 clean-local:
24         -rm -rf html
25         -rm -rf latex
26         -rm -rf man
27         -rm doxygen-build.stamp