doc/ja/Makefile
author Josef "Jeff" Sipek <jeffpc@josefsipek.net>
Tue, 29 May 2007 05:08:01 -0400
changeset 4457 e19d9b1223ee
parent 1500 cadde8ebf167
permissions -rw-r--r--
hgweb: manifest: pass parity for the '[up]' link

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)