view doc/ja/Makefile @ 9521:e3ce0c30798b

Fix issue 1782 don't do url2pathname conversion for urls And only replace os-dependent path separators when necessary
author Grauw <laurens.hg@grauw.nl>
date Fri, 07 Aug 2009 01:15:16 +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)