You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

54 rivejä
1.3 KiB

  1. EXTRA_DIST = doxygen.cfg.in footer.html header.html $(man_MANS)
  2. man_MANS = caca-config.1 cacademo.1 cacaview.1
  3. if DOXYGEN
  4. htmldoc_DATA = html/doxygen.css
  5. htmldocdir = $(datadir)/doc/libcaca-dev/html
  6. if LATEX
  7. psdoc_DATA = latex/libcaca.ps
  8. psdocdir = $(datadir)/doc/libcaca-dev/ps
  9. endif
  10. endif
  11. html/doxygen.css html/doxygen.png: stamp-doxygen
  12. latex/libcaca.ps: stamp-latex
  13. stamp-doxygen:
  14. if DOXYGEN
  15. doxygen doxygen.cfg
  16. touch stamp-doxygen
  17. endif
  18. stamp-latex: stamp-doxygen
  19. if DOXYGEN
  20. if LATEX
  21. rm -f latex/libcaca.tex latex/libcaca.ps
  22. mv latex/refman.tex latex/libcaca.tex
  23. sed 's/setlength{/renewcommand{/' latex/libcaca.tex > latex/refman.tex
  24. cd latex && $(MAKE) $(AM_CFLAGS) ps
  25. mv latex/refman.ps latex/libcaca.ps
  26. touch stamp-latex
  27. endif
  28. endif
  29. clean: clean-local
  30. clean-local:
  31. -rm -Rf html latex man
  32. -rm -f stamp-latex stamp-doxygen
  33. install-data-local:
  34. if DOXYGEN
  35. $(mkinstalldirs) $(DESTDIR)$(datadir)/doc/libcaca-dev/html
  36. cp `find html -name '*.html' -o -name '*.gif' -o -name '*.png'` \
  37. $(DESTDIR)$(datadir)/doc/libcaca-dev/html
  38. $(mkinstalldirs) $(DESTDIR)$(mandir)/man3
  39. cp man/man3/*.3caca $(DESTDIR)$(mandir)/man3
  40. $(mkinstalldirs) $(DESTDIR)$(mandir)/man1
  41. rm -f $(DESTDIR)$(mandir)/man1/cacafire.1
  42. ln -s cacademo.1 $(DESTDIR)$(mandir)/man1/cacafire.1
  43. rm -f $(DESTDIR)$(mandir)/man1/cacaball.1
  44. ln -s cacademo.1 $(DESTDIR)$(mandir)/man1/cacaball.1
  45. endif