Mercurial > hg > mercurial-crew-with-dirclash
view doc/Makefile @ 2176:9b42304d9896
fix file handling bugs on windows.
add util.posixfile class that has posix semantics on windows.
fix util.rename so it works with stupid windows delete semantics.
author | Vadim Gelfer <vadim.gelfer@gmail.com> |
---|---|
date | Tue, 02 May 2006 14:30:00 -0700 |
parents | 9ef0850b9b68 |
children | 3840cefa5222 |
line wrap: on
line source
SOURCES=$(wildcard *.[0-9].txt) MAN=$(SOURCES:%.txt=%) HTML=$(SOURCES:%.txt=%.html) all: man html man: $(MAN) html: $(HTML) hg.1.txt: hg.1.gendoc.txt touch hg.1.txt hg.1.gendoc.txt: ../mercurial/commands.py python gendoc.py > $@ %: %.xml xmlto man $*.xml %.xml: %.txt asciidoc -d manpage -b docbook $*.txt %.html: %.txt asciidoc -b html4 $*.txt || asciidoc -b html $*.txt clean: $(RM) $(MAN) $(MAN:%=%.xml) $(MAN:%=%.html) *.[0-9].gendoc.txt