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 \ |
Hanspeter Niederstrasser | ca82894 | 2012-09-26 19:36:57 -0400 | [diff] [blame] | 25 | $(INSTALL) -d $(DESTDIR)$(docdir)/html/search; \ |
| 26 | $(INSTALL_DATA) $$f $(DESTDIR)$(docdir)/$$f; \ |
Ron | b2b0391 | 2012-05-21 23:14:50 +0930 | [diff] [blame] | 27 | done |
| 28 | |
| 29 | $(INSTALL) -d $(DESTDIR)$(mandir)/man3 |
Ralph Giles | 0e23249 | 2012-08-10 14:42:00 -0700 | [diff] [blame] | 30 | cd man && find man3 -type f -name opus_*.3 \ |
Ron | b2b0391 | 2012-05-21 23:14:50 +0930 | [diff] [blame] | 31 | -exec $(INSTALL_DATA) \{} $(DESTDIR)$(mandir)/man3 \; |
Ralph Giles | 0976757 | 2011-09-07 11:18:23 -0700 | [diff] [blame] | 32 | |
Ralph Giles | 0976757 | 2011-09-07 11:18:23 -0700 | [diff] [blame] | 33 | clean-local: |
Ron | b2b0391 | 2012-05-21 23:14:50 +0930 | [diff] [blame] | 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 |
Ron | 783ecbf | 2012-05-23 15:15:19 +0930 | [diff] [blame] | 42 | |
| 43 | endif |