mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-01-18 06:30:14 +08:00
doc: Fix use of MAINTAINER_MODE
It must also include man_MANS – otherwise make tries to build the
man pages also in non maintainer mode without having a rule for that.
This fixes commit 2794410c9b
.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
b9dff1607f
commit
2f48d69bcd
@ -1,16 +1,16 @@
|
||||
if MAINTAINER_MODE
|
||||
|
||||
asciidoc=asciidoc -d manpage
|
||||
|
||||
man_MANS = cntraining.1 combine_tessdata.1 mftraining.1 tesseract.1 \
|
||||
unicharset_extractor.1 wordlist2dawg.1 unicharambigs.5 \
|
||||
unicharset.5 ambiguous_words.1 shapeclustering.1 dawg2wordlist.1
|
||||
|
||||
if MAINTAINER_MODE
|
||||
|
||||
EXTRA_DIST = $(man_MANS) Doxyfile
|
||||
|
||||
%: %.asc
|
||||
$(asciidoc) -o $@ $<
|
||||
|
||||
endif # MAINTAINER_MODE
|
||||
|
||||
MAINTAINERCLEANFILES = $(man_MANS) Doxyfile
|
||||
|
||||
endif # MAINTAINER_MODE
|
||||
|
Loading…
Reference in New Issue
Block a user