Mercurial > hg > pyhgsh
view doc/Makefile @ 1666:0fc1b588976f
Added tag 0.8 for changeset 3a56574f329a368d645853e0f9e09472aee62349
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 30 Jan 2006 13:01:16 +1300 |
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)