projects
/
tesseract.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a26f02
)
Fixed generation of man page.
author
Alexander Pozdnyakov
<almipo@mail.ru>
Mon, 21 Jan 2019 16:40:07 +0000
(16:40 +0000)
committer
Alexander Pozdnyakov
<almipo@mail.ru>
Mon, 21 Jan 2019 16:40:07 +0000
(16:40 +0000)
Last-Update: 2018-10-05
Gbp-Pq: Name man.diff
doc/Makefile.am
patch
|
blob
|
history
diff --git
a/doc/Makefile.am
b/doc/Makefile.am
index a218aca3b6a93643ea5d0f09a4e2eee54f4ae3cd..5b296c9695e2cb0ce00377e617a6e4d39a0bc191 100644
(file)
--- a/
doc/Makefile.am
+++ b/
doc/Makefile.am
@@
-29,6
+29,8
@@
man_MANS += \
unicharset.5
endif
+man_xslt = /usr/share/xml/docbook/stylesheet/docbook-xsl/manpages/docbook.xsl
+
EXTRA_DIST = $(man_MANS) Doxyfile
.PHONY: html
@@
-36,7
+38,8
@@
EXTRA_DIST = $(man_MANS) Doxyfile
html: $(patsubst %,%.html,$(man_MANS))
%: %.asc
- $(asciidoc) -o $@ $<
+ $(asciidoc) -d manpage -b docbook $<
+ xsltproc $(man_xslt) $@.xml
%.html: %.asc
asciidoc -b html5 -o $@ $<