Mercurial > hg > mercurial-crew-with-dirclash
view doc/Makefile @ 1479:1a3c6689ef2b
fix a bug where hg could remove file ending with .tmp
util.opener used a fixed filename for writing tempfile
instead of using the tempfile module.
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Fri, 28 Oct 2005 17:18:50 -0700 |
parents | 9346a7fb3fe2 |
children | c6c76ead1cc1 |
line wrap: on
line source
SOURCES=$(wildcard *.[0-9].txt) MAN=$(SOURCES:%.txt=%) HTML=$(SOURCES:%.txt=%.html) all: man html man: $(MAN) html: $(HTML) %: %.xml xmlto man $*.xml %.xml: %.txt asciidoc -d manpage -b docbook $*.txt %.html: %.txt asciidoc -b html4 $*.txt clean: $(RM) $(MAN) $(MAN:%=%.xml) $(MAN:%=%.html)