1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-02 16:19:26 +01:00

Add rules to generate man-pages and html version of man-pages.

(Logical change 1.35)
This commit is contained in:
mostang.com!davidm 2003-01-17 07:48:52 +00:00
parent a38baad7f3
commit d1b5c8a0bc

View file

@ -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