Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 
 
 

65 wiersze
1.9 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.tex latex/libcaca.pdf
  26. mv latex/refman.tex latex/libcaca.tex
  27. sed 's/setlength{/renewcommand{/' latex/libcaca.tex \
  28. | sed 's/.*usepackage.*times.*//' > latex/refman.tex
  29. cd latex && $(MAKE) $(AM_CFLAGS) refman.pdf || (cat refman.log; exit 1)
  30. mv latex/refman.pdf latex/libcaca.pdf
  31. touch stamp-latex
  32. endif
  33. endif
  34. clean-local:
  35. -rm -Rf html latex man
  36. install-data-local:
  37. if BUILD_DOCUMENTATION
  38. mkdir -p $(DESTDIR)$(datadir)/doc
  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