Skip to content

Commit

Permalink
Merge pull request #856 from stweil/doc
Browse files Browse the repository at this point in the history
RFC – doc: Remove generated files and add rules to build manpages
  • Loading branch information
zdenop authored May 1, 2017
2 parents 6e80812 + 2794410 commit 857d920
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 857d920

Please sign in to comment.