Skip to content

Commit

Permalink
doc: Remove generated files and add rules to build manpages
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
stweil committed Apr 30, 2017
1 parent 7a116ce commit 2794410
Show file tree
Hide file tree
Showing 35 changed files with 17 additions and 12,646 deletions.
8 changes: 5 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ vs2010/LIB_Release/*
vs2010/LIB_OpenCL_Release/*
vs2010/LIB_OpenCL_Debug/*



# Linux
# ignore local configuration
config.*
Expand All @@ -36,7 +34,11 @@ libtool
stamp-h1
tesseract.pc
config_auto.h
doc/html/*
/doc/html/*
/doc/*.1
/doc/*.5
/doc/*.html
/doc/*.xml
api/tesseract
training/ambiguous_words
training/classifier_tester
Expand Down
12 changes: 12 additions & 0 deletions doc/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
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
46 changes: 0 additions & 46 deletions doc/ambiguous_words.1

This file was deleted.

Loading

0 comments on commit 2794410

Please sign in to comment.