Makefile.am 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # flac - Command-line FLAC encoder/decoder
  2. # Copyright (C) 2002-2009 Josh Coalson
  3. # Copyright (C) 2011-2016 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 = . html
  19. if FLaC__HAS_DOXYGEN
  20. all-local: Doxyfile
  21. FLAC.tag: Doxyfile
  22. doxygen Doxyfile
  23. rm -rf html/api
  24. mv doxytmp/html html/api
  25. rm -rf doxytmp
  26. else
  27. FLAC.tag:
  28. touch $@
  29. mkdir -p html/api
  30. endif
  31. docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)
  32. doc_DATA = \
  33. FLAC.tag
  34. EXTRA_DIST = Doxyfile.in Makefile.lite doxygen.footer.html doxygen.header.html \
  35. isoflac.txt $(doc_DATA)
  36. distclean-local:
  37. rm -rf FLAC.tag html/api doxytmp