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