view doc/ja/Makefile @ 1838:429bf036f2cb

Call hooks in alphabetical (=defined) order, of course still grouped by type. Output of test-hook adjusted.
author Thomas Arendsen Hein <thomas@intevation.de>
date Mon, 06 Mar 2006 17:34:49 +0100
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)