Mercurial > hg > mercurial-crew-with-dirclash
view doc/ja/Makefile @ 5461:ab4d2e9f3b97
convert: svn -- fix 'exists'
Previously 'exists' erroneously returned False for empty dirictories. This is
wrong since we want to detect even empty 'branches/' or 'tags/'.
author | Kirill Smelkov <kirr@landau.phys.spbu.ru> |
---|---|
date | Sat, 13 Oct 2007 15:22:03 +0400 |
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)