Alexandre Lision | 744f742 | 2013-09-25 11:39:37 -0400 | [diff] [blame] | 1 | ## Process this file with automake to produce Makefile.in |
| 2 | |
| 3 | DOCINPUTS = $(top_srcdir)/include/opus.h \ |
| 4 | $(top_srcdir)/include/opus_multistream.h \ |
| 5 | $(top_srcdir)/include/opus_defines.h \ |
| 6 | $(top_srcdir)/include/opus_types.h \ |
| 7 | $(top_srcdir)/include/opus_custom.h \ |
| 8 | $(top_srcdir)/doc/header.html \ |
| 9 | $(top_srcdir)/doc/footer.html \ |
| 10 | $(top_srcdir)/doc/customdoxygen.css |
| 11 | |
| 12 | EXTRA_DIST = customdoxygen.css Doxyfile.in footer.html header.html opus_logo.svg |
| 13 | |
| 14 | |
| 15 | if HAVE_DOXYGEN |
| 16 | |
| 17 | all-local: doxygen-build.stamp |
| 18 | |
| 19 | doxygen-build.stamp: Doxyfile $(DOCINPUTS) |
| 20 | doxygen |
| 21 | touch $@ |
| 22 | |
| 23 | install-data-local: |
| 24 | $(INSTALL) -d $(DESTDIR)$(docdir)/html/search |
| 25 | for f in `find html -type f \! -name "installdox"`; do \ |
| 26 | $(INSTALL_DATA) $$f $(DESTDIR)$(docdir)/$$f; \ |
| 27 | done |
| 28 | |
| 29 | $(INSTALL) -d $(DESTDIR)$(mandir)/man3 |
| 30 | cd man && find man3 -type f -name opus_*.3 \ |
| 31 | -exec $(INSTALL_DATA) \{} $(DESTDIR)$(mandir)/man3 \; |
| 32 | |
| 33 | clean-local: |
| 34 | $(RM) -r html |
| 35 | $(RM) -r latex |
| 36 | $(RM) -r man |
| 37 | $(RM) doxygen-build.stamp |
| 38 | |
| 39 | uninstall-local: |
| 40 | $(RM) -r $(DESTDIR)$(docdir)/html |
| 41 | $(RM) $(DESTDIR)$(mandir)/man3/opus_*.3 $(DESTDIR)$(mandir)/man3/opus.h.3 |
| 42 | |
| 43 | endif |