doc/ja/Makefile
author Edouard Gomez <ed.gomez@free.fr>
Wed, 21 Feb 2007 00:38:06 +0100
changeset 4109 59de487f43d7
parent 1500 cadde8ebf167
permissions -rw-r--r--
Change a bit cvsps arguments - Force updating the cache - Use internal cvs implementation, reducing overhead - Use quiet mode

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)