Skip to content

Commit 2f48d69

Browse files
committed
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 2794410. Signed-off-by: Stefan Weil <[email protected]>
1 parent b9dff16 commit 2f48d69

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/Makefile.am

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1+
if MAINTAINER_MODE
2+
13
asciidoc=asciidoc -d manpage
24

35
man_MANS = cntraining.1 combine_tessdata.1 mftraining.1 tesseract.1 \
46
unicharset_extractor.1 wordlist2dawg.1 unicharambigs.5 \
57
unicharset.5 ambiguous_words.1 shapeclustering.1 dawg2wordlist.1
68

7-
if MAINTAINER_MODE
8-
99
EXTRA_DIST = $(man_MANS) Doxyfile
1010

1111
%: %.asc
1212
$(asciidoc) -o $@ $<
1313

14-
endif # MAINTAINER_MODE
15-
1614
MAINTAINERCLEANFILES = $(man_MANS) Doxyfile
15+
16+
endif # MAINTAINER_MODE

0 commit comments

Comments
 (0)