Makefile.am 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. ## Process this file with automake to produce Makefile.in
  2. DOCINPUTS = $(top_srcdir)/include/opus.h \
  3. $(top_srcdir)/include/opus_multistream.h \
  4. $(top_srcdir)/include/opus_defines.h \
  5. $(top_srcdir)/include/opus_types.h
  6. EXTRA_DIST = Doxyfile.in
  7. all-local: doxygen-build.stamp
  8. if HAVE_DOXYGEN
  9. doxygen-build.stamp: Doxyfile $(DOCINPUTS)
  10. doxygen
  11. touch $@
  12. install-data-local:
  13. for f in `find html -type f \! -name "installdox"`; do \
  14. $(INSTALL_DATA) -D $$f $(DESTDIR)$(docdir)/$$f; \
  15. done
  16. $(INSTALL) -d $(DESTDIR)$(mandir)/man3
  17. cd man && find man3 -type f \
  18. -exec $(INSTALL_DATA) \{} $(DESTDIR)$(mandir)/man3 \;
  19. else
  20. doxygen-build.stamp: Doxyfile $(DOCINPUTS)
  21. @echo "*** Warning: Doxygen not found; API documentation will not be built."
  22. touch $@
  23. endif
  24. # delete doxygen subdirs
  25. clean-local:
  26. $(RM) -r html
  27. $(RM) -r latex
  28. $(RM) -r man
  29. $(RM) doxygen-build.stamp
  30. uninstall-local:
  31. $(RM) -r $(DESTDIR)$(docdir)/html
  32. $(RM) $(DESTDIR)$(mandir)/man3/opus_*.3 $(DESTDIR)$(mandir)/man3/opus.h.3