Makefile.am 1.1 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. $(top_srcdir)/include/opus_custom.h \
  7. $(top_srcdir)/doc/header.html \
  8. $(top_srcdir)/doc/footer.html \
  9. $(top_srcdir)/doc/customdoxygen.css
  10. EXTRA_DIST = customdoxygen.css Doxyfile.in footer.html header.html opus_logo.svg
  11. if HAVE_DOXYGEN
  12. all-local: doxygen-build.stamp
  13. doxygen-build.stamp: Doxyfile $(DOCINPUTS)
  14. doxygen
  15. touch $@
  16. install-data-local:
  17. for f in `find html -type f \! -name "installdox"`; do \
  18. $(INSTALL_DATA) -D $$f $(DESTDIR)$(docdir)/$$f; \
  19. done
  20. $(INSTALL) -d $(DESTDIR)$(mandir)/man3
  21. cd man && find man3 -type f \
  22. -exec $(INSTALL_DATA) \{} $(DESTDIR)$(mandir)/man3 \;
  23. clean-local:
  24. $(RM) -r html
  25. $(RM) -r latex
  26. $(RM) -r man
  27. $(RM) doxygen-build.stamp
  28. uninstall-local:
  29. $(RM) -r $(DESTDIR)$(docdir)/html
  30. $(RM) $(DESTDIR)$(mandir)/man3/opus_*.3 $(DESTDIR)$(mandir)/man3/opus.h.3
  31. endif