mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-26 00:57:39 +01:00
(man3_MANS): Generate man pages into _source_ directory.
(EXTRA_DIST): Mention libunwind-ia64.tex. (L2P): New macro. (.tex.man): Optionally do a "bk get -e" to get a writelock. (html): Append section name to generated php-page. (pdf): New make target. (Logical change 1.38)
This commit is contained in:
parent
bd2b4658cb
commit
827ab382f2
1 changed files with 15 additions and 5 deletions
|
@ -1,17 +1,27 @@
|
||||||
# man pages that go into section 3:
|
# man pages that go into section 3:
|
||||||
man3_MANS = libunwind.man
|
man3_MANS = $(srcdir)/libunwind.man $(srcdir)/libunwind-ia64.man
|
||||||
|
|
||||||
EXTRA_DIST = NOTES libunwind.trans libunwind.tex $(man3_MANS)
|
EXTRA_DIST = NOTES libunwind.trans \
|
||||||
|
libunwind.tex libunwind-ia64.tex \
|
||||||
|
$(man3_MANS)
|
||||||
|
|
||||||
L2M = latex2man
|
L2M = latex2man
|
||||||
|
L2P = pdflatex
|
||||||
L2M_CMD = $(L2M) -t $(srcdir)/libunwind.trans
|
L2M_CMD = $(L2M) -t $(srcdir)/libunwind.trans
|
||||||
L2H_CMD = $(L2M) -H -t $(srcdir)/libunwind.trans
|
L2H_CMD = $(L2M) -H -t $(srcdir)/libunwind.trans
|
||||||
|
|
||||||
.tex.man:
|
.tex.man:
|
||||||
|
-bk get -e $@
|
||||||
$(L2M_CMD) $< $@
|
$(L2M_CMD) $< $@
|
||||||
|
|
||||||
html:
|
html:
|
||||||
for n in $(man3_MANS); do \
|
for n in $(man3_MANS); do \
|
||||||
page=`basename $$n .man`; \
|
page=`basename $$n .man`; \
|
||||||
$(L2H_CMD) $(srcdir)/$$page.tex $$page.php; \
|
$(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
|
done
|
||||||
|
|
Loading…
Reference in a new issue