doc/ja/Makefile
author Thomas Arendsen Hein <thomas@intevation.de>
Sat, 21 Jul 2007 10:43:29 +0200
changeset 4942 c79e3fa6dc29
parent 1500 cadde8ebf167
permissions -rw-r--r--
Remove unused pprint import and the commented line which used it before.

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)