Mercurial > hg
view doc/ja/Makefile @ 1500:cadde8ebf167
Fixed to convert to man properly.
author | Hidetaka Iwai <tyuyu@debian.or.jp> |
---|---|
date | Thu, 03 Nov 2005 11:56:51 +0900 |
parents | a64fdaf60f9d |
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)