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 | |
Ron | 9a89d56 | 2012-06-12 04:40:42 +0930 | [diff] [blame] | 12 | EXTRA_DIST = customdoxygen.css Doxyfile.in footer.html header.html opus_logo.svg |
Ralph Giles | 35d4fb7 | 2011-09-06 23:18:00 -0700 | [diff] [blame] | 13 | |
Ron | b2b0391 | 2012-05-21 23:14:50 +0930 | [diff] [blame] | 14 | |
Ralph Giles | 35d4fb7 | 2011-09-06 23:18:00 -0700 | [diff] [blame] | 15 | if HAVE_DOXYGEN |
Ron | 783ecbf | 2012-05-23 15:15:19 +0930 | [diff] [blame] | 16 | |
| 17 | all-local: doxygen-build.stamp |
| 18 | |
Ralph Giles | 35d4fb7 | 2011-09-06 23:18:00 -0700 | [diff] [blame] | 19 | doxygen-build.stamp: Doxyfile $(DOCINPUTS) |
| 20 | doxygen |
| 21 | touch $@ |
Ron | b2b0391 | 2012-05-21 23:14:50 +0930 | [diff] [blame] | 22 | |
| 23 | install-data-local: |
| 24 | for f in `find html -type f \! -name "installdox"`; do \ |
| 25 | $(INSTALL_DATA) -D $$f $(DESTDIR)$(docdir)/$$f; \ |
| 26 | done |
| 27 | |
| 28 | $(INSTALL) -d $(DESTDIR)$(mandir)/man3 |
| 29 | cd man && find man3 -type f \ |
| 30 | -exec $(INSTALL_DATA) \{} $(DESTDIR)$(mandir)/man3 \; |
Ralph Giles | 0976757 | 2011-09-07 11:18:23 -0700 | [diff] [blame] | 31 | |
Ralph Giles | 0976757 | 2011-09-07 11:18:23 -0700 | [diff] [blame] | 32 | clean-local: |
Ron | b2b0391 | 2012-05-21 23:14:50 +0930 | [diff] [blame] | 33 | $(RM) -r html |
| 34 | $(RM) -r latex |
| 35 | $(RM) -r man |
| 36 | $(RM) doxygen-build.stamp |
| 37 | |
| 38 | uninstall-local: |
| 39 | $(RM) -r $(DESTDIR)$(docdir)/html |
| 40 | $(RM) $(DESTDIR)$(mandir)/man3/opus_*.3 $(DESTDIR)$(mandir)/man3/opus.h.3 |
Ron | 783ecbf | 2012-05-23 15:15:19 +0930 | [diff] [blame] | 41 | |
| 42 | endif |