Ralph Giles | 35d4fb7 | 2011-09-06 23:18:00 -0700 | [diff] [blame] | 1 | ## Process this file with automake to produce Makefile.in |
| 2 | |
Jean-Marc Valin | 4923f3f | 2011-10-26 21:36:57 -0400 | [diff] [blame] | 3 | DOCINPUTS = $(top_srcdir)/include/opus.h \ |
| 4 | $(top_srcdir)/include/opus_multistream.h \ |
| 5 | $(top_srcdir)/include/opus_defines.h \ |
Gregory Maxwell | 1f65ce8 | 2012-06-10 21:15:02 -0400 | [diff] [blame] | 6 | $(top_srcdir)/include/opus_types.h \ |
Gregory Maxwell | 91b56f6 | 2012-06-11 13:33:35 -0400 | [diff] [blame] | 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 |
Ralph Giles | 35d4fb7 | 2011-09-06 23:18:00 -0700 | [diff] [blame] | 11 | |
Jean-Marc Valin | 1bf1da3 | 2013-11-21 14:36:41 -0500 | [diff] [blame] | 12 | EXTRA_DIST = customdoxygen.css Doxyfile.in footer.html header.html \ |
| 13 | opus_logo.svg trivial_example.c |
Ralph Giles | 35d4fb7 | 2011-09-06 23:18:00 -0700 | [diff] [blame] | 14 | |
Ron | b2b0391 | 2012-05-21 23:14:50 +0930 | [diff] [blame] | 15 | |
Ralph Giles | 35d4fb7 | 2011-09-06 23:18:00 -0700 | [diff] [blame] | 16 | if HAVE_DOXYGEN |
Ron | 783ecbf | 2012-05-23 15:15:19 +0930 | [diff] [blame] | 17 | |
| 18 | all-local: doxygen-build.stamp |
| 19 | |
Ralph Giles | 35d4fb7 | 2011-09-06 23:18:00 -0700 | [diff] [blame] | 20 | doxygen-build.stamp: Doxyfile $(DOCINPUTS) |
| 21 | doxygen |
| 22 | touch $@ |
Ron | b2b0391 | 2012-05-21 23:14:50 +0930 | [diff] [blame] | 23 | |
| 24 | install-data-local: |
Ron | 3e6691a | 2013-05-12 14:32:52 +0930 | [diff] [blame] | 25 | $(INSTALL) -d $(DESTDIR)$(docdir)/html/search |
Ron | b2b0391 | 2012-05-21 23:14:50 +0930 | [diff] [blame] | 26 | for f in `find html -type f \! -name "installdox"`; do \ |
Hanspeter Niederstrasser | ca82894 | 2012-09-26 19:36:57 -0400 | [diff] [blame] | 27 | $(INSTALL_DATA) $$f $(DESTDIR)$(docdir)/$$f; \ |
Ron | b2b0391 | 2012-05-21 23:14:50 +0930 | [diff] [blame] | 28 | done |
| 29 | |
| 30 | $(INSTALL) -d $(DESTDIR)$(mandir)/man3 |
Ralph Giles | 0e23249 | 2012-08-10 14:42:00 -0700 | [diff] [blame] | 31 | cd man && find man3 -type f -name opus_*.3 \ |
Ron | b2b0391 | 2012-05-21 23:14:50 +0930 | [diff] [blame] | 32 | -exec $(INSTALL_DATA) \{} $(DESTDIR)$(mandir)/man3 \; |
Ralph Giles | 0976757 | 2011-09-07 11:18:23 -0700 | [diff] [blame] | 33 | |
Ralph Giles | 0976757 | 2011-09-07 11:18:23 -0700 | [diff] [blame] | 34 | clean-local: |
Ron | b2b0391 | 2012-05-21 23:14:50 +0930 | [diff] [blame] | 35 | $(RM) -r html |
| 36 | $(RM) -r latex |
| 37 | $(RM) -r man |
| 38 | $(RM) doxygen-build.stamp |
| 39 | |
| 40 | uninstall-local: |
| 41 | $(RM) -r $(DESTDIR)$(docdir)/html |
| 42 | $(RM) $(DESTDIR)$(mandir)/man3/opus_*.3 $(DESTDIR)$(mandir)/man3/opus.h.3 |
Ron | 783ecbf | 2012-05-23 15:15:19 +0930 | [diff] [blame] | 43 | |
| 44 | endif |