Makefile.am 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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) -d $(DESTDIR)$(docdir)/html/search; \
  19. $(INSTALL_DATA) $$f $(DESTDIR)$(docdir)/$$f; \
  20. done
  21. $(INSTALL) -d $(DESTDIR)$(mandir)/man3
  22. cd man && find man3 -type f -name opus_*.3 \
  23. -exec $(INSTALL_DATA) \{} $(DESTDIR)$(mandir)/man3 \;
  24. clean-local:
  25. $(RM) -r html
  26. $(RM) -r latex
  27. $(RM) -r man
  28. $(RM) doxygen-build.stamp
  29. uninstall-local:
  30. $(RM) -r $(DESTDIR)$(docdir)/html
  31. $(RM) $(DESTDIR)$(mandir)/man3/opus_*.3 $(DESTDIR)$(mandir)/man3/opus.h.3
  32. endif