forked from tesseract-ocr/tesseract
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
48 lines (36 loc) · 827 Bytes
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# doc/Makefile.am
if ASCIIDOC
man_MANS = \
combine_lang_model.1 \
combine_tessdata.1 \
dawg2wordlist.1 \
lstmeval.1 \
lstmtraining.1 \
merge_unicharsets.1 \
set_unicharset_properties.1 \
tesseract.1 \
text2image.1 \
unicharambigs.5 \
unicharset_extractor.1 \
wordlist2dawg.1
if !DISABLED_LEGACY_ENGINE
man_MANS += \
ambiguous_words.1 \
classifier_tester.1 \
cntraining.1 \
mftraining.1 \
shapeclustering.1 \
unicharset.5
endif
man_xslt = http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
EXTRA_DIST = $(man_MANS) Doxyfile
.PHONY: html
html: ${man_MANS:%=%.html}
SUFFIXES = .asc .html
.asc:
-asciidoc -b docbook -d manpage -o - $< | \
xsltproc --nonet $(man_xslt) -
.asc.html:
asciidoc -b html5 -o $@ $<
MAINTAINERCLEANFILES = $(man_MANS) Doxyfile
endif