Show More
@@ -7,6 +7,7 b' PREFIX=/usr/local' | |||||
7 | MANDIR=$(PREFIX)/share/man |
|
7 | MANDIR=$(PREFIX)/share/man | |
8 | INSTALL=install -c -m 644 |
|
8 | INSTALL=install -c -m 644 | |
9 | PYTHON=python |
|
9 | PYTHON=python | |
|
10 | RSTARGS= | |||
10 |
|
11 | |||
11 | export LANGUAGE=C |
|
12 | export LANGUAGE=C | |
12 | export LC_ALL=C |
|
13 | export LC_ALL=C | |
@@ -25,11 +26,11 b' hg.1.gendoc.txt: $(GENDOC)' | |||||
25 | mv $@.tmp $@ |
|
26 | mv $@.tmp $@ | |
26 |
|
27 | |||
27 | %: %.txt common.txt |
|
28 | %: %.txt common.txt | |
28 | $(PYTHON) runrst hgmanpage --halt warning \ |
|
29 | $(PYTHON) runrst hgmanpage $(RSTARGS) --halt warning \ | |
29 | --strip-elements-with-class htmlonly $*.txt $* |
|
30 | --strip-elements-with-class htmlonly $*.txt $* | |
30 |
|
31 | |||
31 | %.html: %.txt common.txt |
|
32 | %.html: %.txt common.txt | |
32 | $(PYTHON) runrst html --halt warning \ |
|
33 | $(PYTHON) runrst html $(RSTARGS) --halt warning \ | |
33 | --link-stylesheet --stylesheet-path style.css $*.txt $*.html |
|
34 | --link-stylesheet --stylesheet-path style.css $*.txt $*.html | |
34 |
|
35 | |||
35 | MANIFEST: man html |
|
36 | MANIFEST: man html |
General Comments 0
You need to be logged in to leave comments.
Login now