~ubuntu-branches/ubuntu/natty/libunwind/natty

« back to all changes in this revision

Viewing changes to doc/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Matthieu Delahaye
  • Date: 2004-05-28 14:21:39 UTC
  • Revision ID: james.westby@ubuntu.com-20040528142139-jv1eckpdf4t94f3o
Tags: upstream-0.97
ImportĀ upstreamĀ versionĀ 0.97

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
        _U_dyn_register.man                                             \
 
23
        _U_dyn_cancel.man
 
24
 
 
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
        _U_dyn_register.tex                                             \
 
45
        _U_dyn_cancel.tex                                               \
 
46
        $(man3_MANS)
 
47
 
 
48
L2M     = latex2man
 
49
L2P     = pdflatex
 
50
L2M_CMD = $(L2M) -t $(srcdir)/libunwind.trans
 
51
L2H_CMD = $(L2M) -H -t $(srcdir)/libunwind.trans
 
52
 
 
53
.tex.man:
 
54
        $(L2M_CMD) $< $@
 
55
        -bk get -e $(srcdir)/$@
 
56
        -cp $@ $(srcdir)/$@
 
57
 
 
58
html:
 
59
        for n in $(man3_MANS); do                                       \
 
60
                page=`basename $$n .man`;                               \
 
61
                $(L2H_CMD) $(srcdir)/$$page.tex "$$page(3).php";        \
 
62
        done
 
63
 
 
64
pdf:
 
65
        for n in $(man3_MANS); do                                       \
 
66
                page=`basename $$n .man`;                               \
 
67
                $(L2P) $(srcdir)/$$page.tex "$$page(3).pdf";            \
 
68
        done