test_opus_api: Fix valgrind expectations broken by last commit.
[opus.git] / doc / Makefile.am
index 1c34062..e38e879 100644 (file)
@@ -9,12 +9,13 @@ DOCINPUTS = $(top_srcdir)/include/opus.h \
             $(top_srcdir)/doc/footer.html \
             $(top_srcdir)/doc/customdoxygen.css
 
-EXTRA_DIST = Doxyfile.in opus_logo.svg
-
-all-local: doxygen-build.stamp
+EXTRA_DIST = customdoxygen.css Doxyfile.in footer.html header.html opus_logo.svg
 
 
 if HAVE_DOXYGEN
+
+all-local: doxygen-build.stamp
+
 doxygen-build.stamp: Doxyfile $(DOCINPUTS)
        doxygen
        touch $@
@@ -27,14 +28,7 @@ install-data-local:
        $(INSTALL) -d $(DESTDIR)$(mandir)/man3
        cd man && find man3 -type f \
                  -exec $(INSTALL_DATA) \{} $(DESTDIR)$(mandir)/man3 \;
-else
-doxygen-build.stamp: Doxyfile $(DOCINPUTS)
-       @echo "*** Warning: Doxygen not found; API documentation will not be built."
-       touch $@
-endif
-
 
-# delete doxygen subdirs
 clean-local:
        $(RM) -r html
        $(RM) -r latex
@@ -44,3 +38,5 @@ clean-local:
 uninstall-local:
        $(RM) -r $(DESTDIR)$(docdir)/html
        $(RM) $(DESTDIR)$(mandir)/man3/opus_*.3 $(DESTDIR)$(mandir)/man3/opus.h.3
+
+endif