doc/ja/Makefile
author Patrick Mezard <pmezard@gmail.com>
Sat, 05 Jul 2008 14:35:34 +0200
changeset 6799 12d1e1e79faf
parent 1500 cadde8ebf167
permissions -rw-r--r--
Fix tests failures introduced by 7239e06e58e9

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)