Makefile.am 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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 \
  11. opus_logo.svg trivial_example.c
  12. if HAVE_DOXYGEN
  13. all-local: doxygen-build.stamp
  14. doxygen-build.stamp: Doxyfile $(DOCINPUTS)
  15. doxygen
  16. touch $@
  17. install-data-local:
  18. $(INSTALL) -d $(DESTDIR)$(docdir)/html/search
  19. for f in `find html -type f \! -name "installdox"`; do \
  20. $(INSTALL_DATA) $$f $(DESTDIR)$(docdir)/$$f; \
  21. done
  22. $(INSTALL) -d $(DESTDIR)$(mandir)/man3
  23. cd man && find man3 -type f -name opus_*.3 \
  24. -exec $(INSTALL_DATA) \{} $(DESTDIR)$(mandir)/man3 \;
  25. clean-local:
  26. $(RM) -r html
  27. $(RM) -r latex
  28. $(RM) -r man
  29. $(RM) doxygen-build.stamp
  30. $(RM) doxygen_sqlite3.db
  31. uninstall-local:
  32. $(RM) -r $(DESTDIR)$(docdir)/html
  33. $(RM) $(DESTDIR)$(mandir)/man3/opus_*.3 $(DESTDIR)$(mandir)/man3/opus.h.3
  34. endif