1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-02 16:19:26 +01:00
libunwind-eh_elf/doc/Makefile.am
mostang.com!davidm 5fea9f709d (man3_MANS): Mention man-pages for unw_flush_cache(), unw_get_accessors(),
unw_get_proc_info(), unw_get_proc_name(), unw_regname(), and
	unw_set_caching_policy().
(EXTRA_DIST): Ditto.

(Logical change 1.62)
2003-03-13 02:15:01 +00:00

43 lines
1.4 KiB
Makefile

# man pages that go into section 3:
man3_MANS = $(srcdir)/libunwind.man $(srcdir)/libunwind-ia64.man \
$(srcdir)/libunwind-ptrace.man $(srcdir)/libunwind-setjmp.man \
$(srcdir)/unw_flush_cache.man \
$(srcdir)/unw_get_accessors.man \
$(srcdir)/unw_get_proc_info.man $(srcdir)/unw_get_proc_name.man \
$(srcdir)/unw_init_local.man $(srcdir)/unw_init_remote.man \
$(srcdir)/unw_create_addr_space.man \
$(srcdir)/unw_destroy_addr_space.man \
$(srcdir)/unw_regname.man $(srcdir)/unw_resume.man \
$(srcdir)/unw_set_caching_policy.man
EXTRA_DIST = NOTES libunwind.trans \
libunwind.tex libunwind-ia64.tex libunwind-ptrace.tex \
libunwind-setjmp.tex \
unw_flush_cache.tex \
unw_get_accessors.tex \
unw_get_proc_info.tex unw_get_proc_name.tex \
unw_init_local.tex unw_init_remote.tex \
unw_create_addr_space.tex unw_destroy_addr_space.tex \
unw_regname.tex unw_resume.tex unw_set_caching_policy.tex \
$(man3_MANS)
L2M = latex2man
L2P = pdflatex
L2M_CMD = $(L2M) -t $(srcdir)/libunwind.trans
L2H_CMD = $(L2M) -H -t $(srcdir)/libunwind.trans
.tex.man:
-bk get -e $@
$(L2M_CMD) $< $@
html:
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"; \
done