2003-01-17 08:48:52 +01:00
|
|
|
# man pages that go into section 3:
|
2003-12-10 08:14:38 +01:00
|
|
|
man3_MANS = libunwind.man libunwind-dynamic.man libunwind-ia64.man \
|
|
|
|
libunwind-ptrace.man libunwind-setjmp.man \
|
|
|
|
unw_flush_cache.man \
|
|
|
|
unw_get_accessors.man \
|
|
|
|
unw_get_proc_info.man \
|
|
|
|
unw_get_proc_info_by_ip.man \
|
|
|
|
unw_get_proc_name.man \
|
|
|
|
unw_get_fpreg.man \
|
|
|
|
unw_get_reg.man \
|
|
|
|
unw_getcontext.man \
|
|
|
|
unw_init_local.man unw_init_remote.man \
|
|
|
|
unw_is_fpreg.man \
|
|
|
|
unw_is_signal_frame.man \
|
|
|
|
unw_create_addr_space.man \
|
|
|
|
unw_destroy_addr_space.man \
|
|
|
|
unw_regname.man unw_resume.man \
|
|
|
|
unw_set_caching_policy.man \
|
|
|
|
unw_set_fpreg.man \
|
|
|
|
unw_set_reg.man \
|
|
|
|
unw_step.man \
|
2004-08-18 17:16:46 +02:00
|
|
|
unw_strerror.man \
|
2003-12-10 08:14:38 +01:00
|
|
|
_U_dyn_register.man \
|
|
|
|
_U_dyn_cancel.man
|
2003-01-17 08:48:52 +01:00
|
|
|
|
2003-03-13 03:15:01 +01:00
|
|
|
EXTRA_DIST = NOTES libunwind.trans \
|
2003-12-10 08:14:38 +01:00
|
|
|
libunwind.tex libunwind-dynamic.tex libunwind-ia64.tex \
|
|
|
|
libunwind-ptrace.tex libunwind-setjmp.tex \
|
2003-03-13 03:15:01 +01:00
|
|
|
unw_flush_cache.tex \
|
|
|
|
unw_get_accessors.tex \
|
2003-12-04 08:44:21 +01:00
|
|
|
unw_get_proc_info.tex \
|
|
|
|
unw_get_proc_info_by_ip.tex \
|
|
|
|
unw_get_proc_name.tex \
|
2003-03-20 08:51:37 +01:00
|
|
|
unw_get_fpreg.tex \
|
|
|
|
unw_get_reg.tex \
|
|
|
|
unw_getcontext.tex \
|
2003-03-13 03:15:01 +01:00
|
|
|
unw_init_local.tex unw_init_remote.tex \
|
2003-03-20 08:51:37 +01:00
|
|
|
unw_is_fpreg.tex \
|
|
|
|
unw_is_signal_frame.tex \
|
2003-03-13 03:15:01 +01:00
|
|
|
unw_create_addr_space.tex unw_destroy_addr_space.tex \
|
|
|
|
unw_regname.tex unw_resume.tex unw_set_caching_policy.tex \
|
2003-03-20 08:51:37 +01:00
|
|
|
unw_set_fpreg.tex \
|
|
|
|
unw_set_reg.tex \
|
2003-03-20 08:53:28 +01:00
|
|
|
unw_step.tex \
|
2004-08-18 17:16:46 +02:00
|
|
|
unw_strerror.tex \
|
2003-12-10 08:14:38 +01:00
|
|
|
_U_dyn_register.tex \
|
|
|
|
_U_dyn_cancel.tex \
|
2003-01-18 09:10:40 +01:00
|
|
|
$(man3_MANS)
|
2003-01-17 08:48:52 +01:00
|
|
|
|
|
|
|
L2M = latex2man
|
2003-01-18 09:10:40 +01:00
|
|
|
L2P = pdflatex
|
2003-01-17 08:48:52 +01:00
|
|
|
L2M_CMD = $(L2M) -t $(srcdir)/libunwind.trans
|
|
|
|
L2H_CMD = $(L2M) -H -t $(srcdir)/libunwind.trans
|
|
|
|
|
|
|
|
.tex.man:
|
|
|
|
$(L2M_CMD) $< $@
|
2003-03-27 05:29:07 +01:00
|
|
|
-bk get -e $(srcdir)/$@
|
|
|
|
-cp $@ $(srcdir)/$@
|
2003-01-17 08:48:52 +01:00
|
|
|
|
|
|
|
html:
|
2003-01-18 09:10:40 +01:00
|
|
|
for n in $(man3_MANS); do \
|
|
|
|
page=`basename $$n .man`; \
|
|
|
|
$(L2H_CMD) $(srcdir)/$$page.tex "$$page(3).php"; \
|
|
|
|
done
|
|
|
|
|
|
|
|
pdf:
|
|
|
|
for n in $(man3_MANS); do \
|
|
|
|
page=`basename $$n .man`; \
|
|
|
|
$(L2P) $(srcdir)/$$page.tex "$$page(3).pdf"; \
|
2003-01-17 08:48:52 +01:00
|
|
|
done
|