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

59 行
1.7 KiB

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