選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

Makefile.am 1.6 KiB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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. cp `find man -name '*.3caca'` $(DESTDIR)$(mandir)/man3
  42. $(mkinstalldirs) $(DESTDIR)$(mandir)/man1
  43. rm -f $(DESTDIR)$(mandir)/man1/cacaball.1
  44. ln -s cacafire.1 $(DESTDIR)$(mandir)/man1/cacaball.1
  45. rm -f $(DESTDIR)$(mandir)/man1/cacamoir.1
  46. ln -s cacafire.1 $(DESTDIR)$(mandir)/man1/cacamoir.1
  47. rm -f $(DESTDIR)$(mandir)/man1/cacaplas.1
  48. ln -s cacafire.1 $(DESTDIR)$(mandir)/man1/cacaplas.1
  49. endif