##// END OF EJS Templates
rst2man: automatically write sections in uppercase...
rst2man: automatically write sections in uppercase Man pages have uppercased section titles but other formats do not. Letting rst2man handle the tranformation allows better reuse of text between man pages and other formats.

File last commit:

r1500:cadde8eb default
r9791:8bba9157 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)