doc/ja/Makefile
author Vadim Gelfer <vadim.gelfer@gmail.com>
Sat, 12 Aug 2006 12:12:23 -0700
changeset 2858 c9b08cacf983
parent 1500 cadde8ebf167
permissions -rw-r--r--
merge.

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

all: man html

man: $(MAN)

html: $(HTML)

%: %.xml
	xmlto -x docbook.ja.xsl 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)