doc/ja/Makefile
author Brendan Cully <brendan@kublai.com>
Sat, 10 Mar 2007 17:36:27 -0800
changeset 4175 a2335e832e16
parent 1500 cadde8ebf167
permissions -rw-r--r--
Make update with no node jump to the tip of the current branch

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)