view doc/ja/Makefile @ 7919:3e6206967570

Backed out changeset 490e40816cbd The difference came from a configuration difference (network unreachable vs. connection refused), not from an OS change.
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Mon, 30 Mar 2009 01:23:01 +0200
parents cadde8ebf167
children
line wrap: on
line source

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)