Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

Makefile.am 1.9 KiB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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. $(mkinstalldirs) $(DESTDIR)$(datadir)/doc/libcaca-dev/html
  39. cp `find html -name '*.html' -o -name '*.gif' -o -name '*.png'` \
  40. $(DESTDIR)$(datadir)/doc/libcaca-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. endif
  47. $(mkinstalldirs) $(DESTDIR)$(mandir)/man1
  48. rm -f $(DESTDIR)$(mandir)/man1/cacademo.1
  49. ln -sf cacafire.1 $(DESTDIR)$(mandir)/man1/cacademo.1
  50. uninstall-local:
  51. rm -f $(DESTDIR)$(datadir)/doc/libcucul-dev
  52. rmdir $(DESTDIR)$(datadir)/doc 2>/dev/null || true