doc/ja/Makefile
author "Hidetaka Iwai <tyuyu@debian.or.jp>"
Wed, 02 Nov 2005 16:13:24 -0800
changeset 1489 a64fdaf60f9d
child 1500 cadde8ebf167
permissions -rw-r--r--
Added Japanese translations of manpages.

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)