|
Lines 2-10
Link Here
|
| 2 |
|
2 |
|
| 3 |
if ASCIIDOC |
3 |
if ASCIIDOC |
| 4 |
|
4 |
|
| 5 |
asciidoc=asciidoc -d manpage |
|
|
| 6 |
|
| 7 |
|
| 8 |
man_MANS = \ |
5 |
man_MANS = \ |
| 9 |
combine_lang_model.1 \ |
6 |
combine_lang_model.1 \ |
| 10 |
combine_tessdata.1 \ |
7 |
combine_tessdata.1 \ |
|
Lines 29-34
man_MANS += \
Link Here
|
| 29 |
unicharset.5 |
26 |
unicharset.5 |
| 30 |
endif |
27 |
endif |
| 31 |
|
28 |
|
|
|
29 |
man_xslt = http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl |
| 30 |
|
| 32 |
EXTRA_DIST = $(man_MANS) Doxyfile |
31 |
EXTRA_DIST = $(man_MANS) Doxyfile |
| 33 |
|
32 |
|
| 34 |
.PHONY: html |
33 |
.PHONY: html |
|
Lines 36-42
EXTRA_DIST = $(man_MANS) Doxyfile
Link Here
|
| 36 |
html: $(patsubst %,%.html,$(man_MANS)) |
35 |
html: $(patsubst %,%.html,$(man_MANS)) |
| 37 |
|
36 |
|
| 38 |
%: %.asc |
37 |
%: %.asc |
| 39 |
$(asciidoc) -o $@ $< |
38 |
asciidoc -b docbook -d manpage -o - $< | \ |
|
|
39 |
xsltproc --nonet $(man_xslt) - |
| 40 |
|
40 |
|
| 41 |
%.html: %.asc |
41 |
%.html: %.asc |
| 42 |
asciidoc -b html5 -o $@ $< |
42 |
asciidoc -b html5 -o $@ $< |
| 43 |
- |
|
|