diff options
author | Ron <ron@debian.org> | 2012-05-23 15:15:19 +0930 |
---|---|---|
committer | Gregory Maxwell <greg@xiph.org> | 2012-06-11 14:24:18 -0400 |
commit | 783ecbff0c86e48d64930328f9c4c34f2608707f (patch) | |
tree | 472afc93497c10d8517fb434e3666d6162c1a6ee | |
parent | 91b56f6542583df33b0a8184bb11ea3b9fa75184 (diff) | |
download | opus-783ecbff0c86e48d64930328f9c4c34f2608707f.tar.gz |
Don't bark scary warnings at compile time about no doxygen
We already report whether or not the docs will be built in the summary box
at the end of the configure run.
-rw-r--r-- | doc/Makefile.am | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am index 1c340620..7bd13fad 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -11,10 +11,11 @@ DOCINPUTS = $(top_srcdir)/include/opus.h \ EXTRA_DIST = Doxyfile.in opus_logo.svg -all-local: doxygen-build.stamp - 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 |