doc/ja/Makefile
author Thomas Arendsen Hein <thomas@intevation.de>
Tue, 06 Mar 2007 12:52:07 +0100
changeset 4156 30857b5779f8
parent 1500 cadde8ebf167
permissions -rw-r--r--
Fix help text for hg status -i

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)