doc/ja/Makefile
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
Mon, 09 Oct 2006 15:44:20 +0200
changeset 3293 a225055b3b59
parent 1500 cadde8ebf167
permissions -rw-r--r--
bundle --base: use the right set for the base

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)