Skip to content

Commit

Permalink
doc: Fix use of MAINTAINER_MODE
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
stweil committed May 2, 2017
1 parent b9dff16 commit 2f48d69
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/Makefile.am
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 2f48d69

Please sign in to comment.