選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 
 
 
 

61 行
1.7 KiB

  1. include $(top_srcdir)/build/autotools/common.am
  2. EXTRA_DIST = doxygen.cfg.in doxygen.css footer.html header.html \
  3. $(man_MANS) $(doxygen_DOX)
  4. CLEANFILES = doxygen.log stamp-latex stamp-doxygen
  5. doxygen_DOX = libcaca.dox user.dox migrating.dox tutorial.dox canvas.dox font.dox style.dox
  6. man_MANS = caca-config.1 cacafire.1 cacaview.1 cacaserver.1 img2txt.1 cacaplay.1
  7. if BUILD_DOCUMENTATION
  8. htmldoc_DATA = html/doxygen.css
  9. htmldocdir = $(datadir)/doc/libcaca-dev/html
  10. if USE_LATEX
  11. pdfdoc_DATA = latex/libcaca.pdf
  12. pdfdocdir = $(datadir)/doc/libcaca-dev/pdf
  13. endif
  14. endif
  15. html/doxygen.css html/doxygen.png: stamp-doxygen
  16. latex/libcaca.pdf: stamp-latex
  17. stamp-doxygen: $(doxygen_DOX)
  18. if BUILD_DOCUMENTATION
  19. doxygen doxygen.cfg 2>&1 | tee doxygen.log
  20. touch stamp-doxygen
  21. endif
  22. stamp-latex: stamp-doxygen
  23. if BUILD_DOCUMENTATION
  24. if USE_LATEX
  25. rm -f latex/libcaca.pdf
  26. cd latex && $(MAKE) $(AM_CFLAGS) refman.pdf || (cat refman.log; exit 1)
  27. mv latex/refman.pdf latex/libcaca.pdf
  28. touch stamp-latex
  29. endif
  30. endif
  31. clean-local:
  32. -rm -Rf html latex man
  33. install-data-local:
  34. if BUILD_DOCUMENTATION
  35. mkdir -p $(DESTDIR)$(datadir)/doc
  36. $(mkinstalldirs) $(DESTDIR)$(datadir)/doc/libcaca-dev/html
  37. cp `find html -name '*.html' -o -name '*.gif' -o -name '*.png'` \
  38. $(DESTDIR)$(datadir)/doc/libcaca-dev/html
  39. $(mkinstalldirs) $(DESTDIR)$(mandir)/man3
  40. for man in $$(find man -name '*.3caca'); do \
  41. sed -e 's/man3caca/man3/g' -e "s/fC'\([a-zA-Z0-9]*\)'/fC\"\1\"/g" \
  42. $$man >$(DESTDIR)$(mandir)/man3/$${man##*/}; \
  43. done
  44. endif
  45. $(mkinstalldirs) $(DESTDIR)$(mandir)/man1
  46. rm -f $(DESTDIR)$(mandir)/man1/cacademo.1
  47. ln -sf cacafire.1 $(DESTDIR)$(mandir)/man1/cacademo.1
  48. uninstall-local:
  49. rmdir $(DESTDIR)$(datadir)/doc 2>/dev/null || true