Makefile.am 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. # flac - Command-line FLAC encoder/decoder
  2. # Copyright (C) 2002-2009 Josh Coalson
  3. # Copyright (C) 2011-2023 Xiph.Org Foundation
  4. #
  5. # This program is free software; you can redistribute it and/or
  6. # modify it under the terms of the GNU General Public License
  7. # as published by the Free Software Foundation; either version 2
  8. # of the License, or (at your option) any later version.
  9. #
  10. # This program is distributed in the hope that it will be useful,
  11. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. # GNU General Public License for more details.
  14. #
  15. # You should have received a copy of the GNU General Public License along
  16. # with this program; if not, write to the Free Software Foundation, Inc.,
  17. # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  18. SUBDIRS = . images
  19. if FLaC__HAS_DOXYGEN
  20. all-local: Doxyfile
  21. FLAC.tag: Doxyfile
  22. doxygen Doxyfile
  23. rm -rf api
  24. mv doxytmp/html api
  25. rm -rf doxytmp
  26. doc_DATA = \
  27. FLAC.tag
  28. else
  29. if FLaC__HAS_PREBUILT_DOXYGEN
  30. doc_DATA = \
  31. FLAC.tag
  32. endif
  33. endif
  34. EXTRA_DIST = Doxyfile.in doxygen.footer.html \
  35. isoflac.txt $(doc_DATA) CMakeLists.txt \
  36. api
  37. if FLaC__HAS_DOXYGEN
  38. # The install targets don't copy whole directories so we have to
  39. # handle 'api/' specially:
  40. install-data-local:
  41. $(mkinstalldirs) $(DESTDIR)$(docdir)/api
  42. (cd $(builddir)/api && $(INSTALL_DATA) * $(DESTDIR)$(docdir)/api)
  43. uninstall-local:
  44. rm -rf $(DESTDIR)$(docdir)/api
  45. distclean-local:
  46. rm -rf FLAC.tag api doxytmp
  47. endif
  48. if FLaC__HAS_PREBUILT_DOXYGEN
  49. # The install targets don't copy whole directories so we have to
  50. # handle 'api/' specially:
  51. install-data-local:
  52. $(mkinstalldirs) $(DESTDIR)$(docdir)/api
  53. (cd $(srcdir)/api && $(INSTALL_DATA) * $(DESTDIR)$(docdir)/api)
  54. uninstall-local:
  55. rm -rf $(DESTDIR)$(docdir)/api
  56. endif