mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-29 18:27:37 +01:00
Add rules to generate man-pages and html version of man-pages.
(Logical change 1.35)
This commit is contained in:
parent
a38baad7f3
commit
d1b5c8a0bc
1 changed files with 17 additions and 0 deletions
|
@ -0,0 +1,17 @@
|
||||||
|
# man pages that go into section 3:
|
||||||
|
man3_MANS = libunwind.man
|
||||||
|
|
||||||
|
EXTRA_DIST = NOTES libunwind.trans libunwind.tex $(man3_MANS)
|
||||||
|
|
||||||
|
L2M = latex2man
|
||||||
|
L2M_CMD = $(L2M) -t $(srcdir)/libunwind.trans
|
||||||
|
L2H_CMD = $(L2M) -H -t $(srcdir)/libunwind.trans
|
||||||
|
|
||||||
|
.tex.man:
|
||||||
|
$(L2M_CMD) $< $@
|
||||||
|
|
||||||
|
html:
|
||||||
|
for n in $(man3_MANS); do \
|
||||||
|
page=`basename $$n .man`; \
|
||||||
|
$(L2H_CMD) $(srcdir)/$$page.tex $$page.php; \
|
||||||
|
done
|
Loading…
Reference in a new issue