2018-04-08 20:44:14 +08:00
|
|
|
# doc/Makefile.am
|
2017-05-02 13:35:51 +08:00
|
|
|
|
2018-04-10 01:06:59 +08:00
|
|
|
if ASCIIDOC
|
|
|
|
|
2018-03-13 02:08:16 +08:00
|
|
|
man_MANS = \
|
2018-10-05 04:26:35 +08:00
|
|
|
combine_lang_model.1 \
|
2018-03-13 02:08:16 +08:00
|
|
|
combine_tessdata.1 \
|
|
|
|
dawg2wordlist.1 \
|
|
|
|
lstmeval.1 \
|
|
|
|
lstmtraining.1 \
|
|
|
|
merge_unicharsets.1 \
|
|
|
|
set_unicharset_properties.1 \
|
|
|
|
tesseract.1 \
|
|
|
|
text2image.1 \
|
2020-10-10 06:33:27 +08:00
|
|
|
unicharset.5 \
|
2018-07-03 23:49:42 +08:00
|
|
|
unicharset_extractor.1 \
|
2017-09-17 00:47:04 +08:00
|
|
|
wordlist2dawg.1
|
2018-07-03 23:49:42 +08:00
|
|
|
|
|
|
|
if !DISABLED_LEGACY_ENGINE
|
|
|
|
man_MANS += \
|
|
|
|
ambiguous_words.1 \
|
|
|
|
classifier_tester.1 \
|
|
|
|
cntraining.1 \
|
|
|
|
mftraining.1 \
|
|
|
|
shapeclustering.1 \
|
2020-10-10 06:33:27 +08:00
|
|
|
unicharambigs.5
|
2018-07-03 23:49:42 +08:00
|
|
|
endif
|
|
|
|
|
2019-02-02 02:47:46 +08:00
|
|
|
man_xslt = http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
|
|
|
|
|
2018-07-03 23:49:42 +08:00
|
|
|
EXTRA_DIST = $(man_MANS) Doxyfile
|
2017-04-30 17:27:17 +08:00
|
|
|
|
2018-10-05 04:26:35 +08:00
|
|
|
.PHONY: html
|
|
|
|
|
2019-02-09 02:16:56 +08:00
|
|
|
html: ${man_MANS:%=%.html}
|
2019-03-16 03:56:53 +08:00
|
|
|
pdf: ${man_MANS:%=%.pdf}
|
2018-10-05 04:26:35 +08:00
|
|
|
|
2019-03-16 03:56:53 +08:00
|
|
|
SUFFIXES = .asc .html .pdf
|
2019-02-09 02:16:56 +08:00
|
|
|
|
|
|
|
.asc:
|
2019-02-15 22:13:45 +08:00
|
|
|
-asciidoc -b docbook -d manpage -o - $< | \
|
2019-02-02 02:47:46 +08:00
|
|
|
xsltproc --nonet $(man_xslt) -
|
2017-04-30 17:27:17 +08:00
|
|
|
|
2019-02-09 02:16:56 +08:00
|
|
|
.asc.html:
|
2018-10-05 04:26:35 +08:00
|
|
|
asciidoc -b html5 -o $@ $<
|
|
|
|
|
2019-03-16 03:56:53 +08:00
|
|
|
.asc.pdf:
|
|
|
|
asciidoc -b docbook -d manpage -o $*.dbk $<
|
|
|
|
docbook2pdf $*.dbk
|
|
|
|
|
2017-04-30 17:27:17 +08:00
|
|
|
MAINTAINERCLEANFILES = $(man_MANS) Doxyfile
|
2018-04-10 01:06:59 +08:00
|
|
|
|
|
|
|
endif
|