view doc/ja/Makefile @ 2853:619f1c65384c

Adjusted documentation for hgrc's "[smtp] host" for change in 9f745d3675d4.
author Thomas Arendsen Hein <thomas@intevation.de>
date Fri, 11 Aug 2006 09:11:54 +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)