##// END OF EJS Templates
doc/Makefile: detect the right name for rst2man and rst2html...
doc/Makefile: detect the right name for rst2man and rst2html docutils uses the .py extension on the commands, and so do their installer. Distribution packages might strip the .py, but the official name should work too.

File last commit:

r1500:cadde8eb default
r9405:7345fa5e default
Show More
Makefile
21 lines | 350 B | text/x-makefile | MakefileLexer
"Hidetaka Iwai "
Added Japanese translations of manpages.
r1489 SOURCES=$(wildcard *.[0-9].ja.txt)
MAN=$(SOURCES:%.txt=%)
HTML=$(SOURCES:%.txt=%.html)
all: man html
man: $(MAN)
html: $(HTML)
%: %.xml
Hidetaka Iwai
Fixed to convert to man properly.
r1500 xmlto -x docbook.ja.xsl man $*.xml
"Hidetaka Iwai "
Added Japanese translations of manpages.
r1489
%.xml: %.txt
-asciidoc -d manpage -b docbook -f docbook.ja.conf $*.txt
%.html: %.txt
asciidoc -b html4 $*.txt
clean:
$(RM) $(MAN:%.ja=%) $(MAN:%=%.xml) $(MAN:%=%.html)