view doc/ja/Makefile @ 1489:a64fdaf60f9d

Added Japanese translations of manpages.
author "Hidetaka Iwai <tyuyu@debian.or.jp>"
date Wed, 02 Nov 2005 16:13:24 -0800
parents
children cadde8ebf167
line wrap: on
line source

SOURCES=$(wildcard *.[0-9].ja.txt)
MAN=$(SOURCES:%.txt=%)
HTML=$(SOURCES:%.txt=%.html)

all: man html

man: $(MAN)

html: $(HTML)

%: %.xml
	xmlto man $*.xml

%.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)