Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 
 
 

64 rindas
1.9 KiB

  1. EXTRA_DIST = doxygen.cfg.in doxygen.css footer.html header.html \
  2. $(man_MANS) $(doxygen_DOX)
  3. CLEANFILES = doxygen.log stamp-latex stamp-doxygen
  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/libcaca-dev/html
  9. if USE_LATEX
  10. pdfdoc_DATA = latex/libcaca.pdf
  11. pdfdocdir = $(datadir)/doc/libcaca-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 2>&1 | tee doxygen.log
  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 \
  27. | sed 's/.*usepackage.*times.*//' > latex/refman.tex
  28. cd latex && $(MAKE) $(AM_CFLAGS) refman.pdf || (cat refman.log; exit 1)
  29. mv latex/refman.pdf latex/libcaca.pdf
  30. touch stamp-latex
  31. endif
  32. endif
  33. clean-local:
  34. -rm -Rf html latex man
  35. install-data-local:
  36. if BUILD_DOCUMENTATION
  37. mkdir -p $(DESTDIR)$(datadir)/doc
  38. ln -sf libcaca-dev $(DESTDIR)$(datadir)/doc/libcucul-dev
  39. $(mkinstalldirs) $(DESTDIR)$(datadir)/doc/libcaca-dev/html
  40. cp `find html -name '*.html' -o -name '*.gif' -o -name '*.png'` \
  41. $(DESTDIR)$(datadir)/doc/libcaca-dev/html
  42. $(mkinstalldirs) $(DESTDIR)$(mandir)/man3
  43. for man in $$(find man -name '*.3caca'); do \
  44. sed -e 's/man3caca/man3/g' -e "s/fC'\([a-zA-Z0-9]*\)'/fC\"\1\"/g" \
  45. $$man >$(DESTDIR)$(mandir)/man3/$${man##*/}; \
  46. done
  47. endif
  48. $(mkinstalldirs) $(DESTDIR)$(mandir)/man1
  49. rm -f $(DESTDIR)$(mandir)/man1/cacademo.1
  50. ln -sf cacafire.1 $(DESTDIR)$(mandir)/man1/cacademo.1
  51. uninstall-local:
  52. rm -f $(DESTDIR)$(datadir)/doc/libcucul-dev
  53. rmdir $(DESTDIR)$(datadir)/doc 2>/dev/null || true