tesseract/doc/Makefile.am
Stefan Weil 2794410c9b doc: Remove generated files and add rules to build manpages
Those files can be built by doc/generate_manpages.sh.

The manpages are needed for the installation,
so add Makefile rules for them.

Git must ignore the generated manpages.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2017-04-30 11:27:17 +02:00

17 lines
385 B
Makefile

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