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.

Makefile.am 1.9 KiB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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/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
  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. mkdir -p $(DESTDIR)$(datadir)/doc
  39. ln -s libcaca-dev $(DESTDIR)$(datadir)/doc/libcucul-dev
  40. $(mkinstalldirs) $(DESTDIR)$(datadir)/doc/libcaca-dev/html
  41. cp `find html -name '*.html' -o -name '*.gif' -o -name '*.png'` \
  42. $(DESTDIR)$(datadir)/doc/libcaca-dev/html
  43. $(mkinstalldirs) $(DESTDIR)$(mandir)/man3
  44. for man in $$(find man -name '*.3caca'); do \
  45. sed -e 's/man3caca/man3/g' -e "s/fC'\([a-zA-Z0-9]*\)'/fC\"\1\"/g" \
  46. $$man >$(DESTDIR)$(mandir)/man3/$${man##*/}; \
  47. done
  48. $(mkinstalldirs) $(DESTDIR)$(mandir)/man1
  49. rm -f $(DESTDIR)$(mandir)/man1/cacademo.1
  50. ln -s cacafire.1 $(DESTDIR)$(mandir)/man1/cacademo.1
  51. endif
  52. uninstall-local:
  53. rm -f $(DESTDIR)$(datadir)/doc/libcucul-dev
  54. rmdir $(DESTDIR)$(datadir)/doc 2>/dev/null || true