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.
 
 
 
 
 
 

58 wiersze
1.6 KiB

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