doc/ja/Makefile
author Martin Geisler <mg@lazybytes.net>
Sun, 31 May 2009 14:55:51 +0200
changeset 8668 aea3a23151bd
parent 1500 cadde8ebf167
permissions -rw-r--r--
fixed typos found in translatable strings This is from a spell-check of hg.pot.

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)