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
|
|
|
|
|
2017-04-30 17:27:17 +08:00
|
|
|
asciidoc=asciidoc -d manpage
|
|
|
|
|
2018-07-03 23:49:42 +08:00
|
|
|
|
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 \
|
|
|
|
unicharambigs.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 \
|
|
|
|
unicharset.5
|
|
|
|
endif
|
|
|
|
|
|
|
|
EXTRA_DIST = $(man_MANS) Doxyfile
|
2017-04-30 17:27:17 +08:00
|
|
|
|
2018-10-05 04:26:35 +08:00
|
|
|
.PHONY: html
|
|
|
|
|
|
|
|
html: $(patsubst %,%.html,$(man_MANS))
|
|
|
|
|
2017-04-30 17:27:17 +08:00
|
|
|
%: %.asc
|
|
|
|
$(asciidoc) -o $@ $<
|
|
|
|
|
2018-10-05 04:26:35 +08:00
|
|
|
%.html: %.asc
|
|
|
|
asciidoc -b html5 -o $@ $<
|
|
|
|
|
2017-04-30 17:27:17 +08:00
|
|
|
MAINTAINERCLEANFILES = $(man_MANS) Doxyfile
|
2018-04-10 01:06:59 +08:00
|
|
|
|
|
|
|
endif
|