ref: 4fb65ae3e84f536a9b924082b7c59a30d5802e6b
dir: /sys/src/cmd/hg/doc/ja/Makefile/
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)