Makefile.am 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. # man pages that go into section 3:
  2. man3_MANS = libunwind.man libunwind-dynamic.man libunwind-ia64.man \
  3. libunwind-ptrace.man libunwind-setjmp.man \
  4. unw_flush_cache.man \
  5. unw_get_accessors.man \
  6. unw_get_proc_info.man \
  7. unw_get_proc_info_by_ip.man \
  8. unw_get_proc_name.man \
  9. unw_get_fpreg.man \
  10. unw_get_reg.man \
  11. unw_getcontext.man \
  12. unw_init_local.man unw_init_remote.man \
  13. unw_is_fpreg.man \
  14. unw_is_signal_frame.man \
  15. unw_create_addr_space.man \
  16. unw_destroy_addr_space.man \
  17. unw_regname.man unw_resume.man \
  18. unw_set_caching_policy.man \
  19. unw_set_fpreg.man \
  20. unw_set_reg.man \
  21. unw_step.man \
  22. unw_strerror.man \
  23. _U_dyn_register.man \
  24. _U_dyn_cancel.man
  25. EXTRA_DIST = NOTES libunwind.trans \
  26. libunwind.tex libunwind-dynamic.tex libunwind-ia64.tex \
  27. libunwind-ptrace.tex libunwind-setjmp.tex \
  28. unw_flush_cache.tex \
  29. unw_get_accessors.tex \
  30. unw_get_proc_info.tex \
  31. unw_get_proc_info_by_ip.tex \
  32. unw_get_proc_name.tex \
  33. unw_get_fpreg.tex \
  34. unw_get_reg.tex \
  35. unw_getcontext.tex \
  36. unw_init_local.tex unw_init_remote.tex \
  37. unw_is_fpreg.tex \
  38. unw_is_signal_frame.tex \
  39. unw_create_addr_space.tex unw_destroy_addr_space.tex \
  40. unw_regname.tex unw_resume.tex unw_set_caching_policy.tex \
  41. unw_set_fpreg.tex \
  42. unw_set_reg.tex \
  43. unw_step.tex \
  44. unw_strerror.tex \
  45. _U_dyn_register.tex \
  46. _U_dyn_cancel.tex \
  47. $(man3_MANS)
  48. L2M = latex2man
  49. L2P = pdflatex
  50. L2M_CMD = $(L2M) -t $(srcdir)/libunwind.trans
  51. L2H_CMD = $(L2M) -H -t $(srcdir)/libunwind.trans
  52. .tex.man:
  53. $(L2M_CMD) $< $@
  54. -cp $@ $(srcdir)/$@
  55. html:
  56. for n in $(man3_MANS); do \
  57. page=`basename $$n .man`; \
  58. $(L2H_CMD) $(srcdir)/$$page.tex "$$page(3).raw"; \
  59. done
  60. pdf:
  61. for n in $(man3_MANS); do \
  62. page=`basename $$n .man`; \
  63. $(L2P) $(srcdir)/$$page.tex "$$page(3).pdf"; \
  64. done
  65. MAINTAINERCLEANFILES = Makefile.in