Mercurial > hg
view doc/Makefile @ 2152:57729c56a23c
Show repo's revlog format on verify only if it doesn't match the default format.
This makes it easier to run the tests with different revlog formats.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 28 Apr 2006 21:52:08 +0200 |
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