doc/ja/Makefile
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Fri, 05 Jan 2007 00:01:51 -0200
changeset 4017 ea6174c96ae1
parent 1500 cadde8ebf167
permissions -rw-r--r--
catch AttributeError in util.checklink There's no symlink function in the os module on windows. Fixes issue468

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)