author | Peter van Dijk <mercurial-bugs@selenic.com> |
Sun, 15 Feb 2009 11:14:20 -0600 | |
changeset 7770 | fd3e5ff53a31 |
parent 1500 | cadde8ebf167 |
permissions | -rw-r--r-- |
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)