Mercurial > hg > mercurial-crew-with-dirclash
view doc/Makefile @ 1635:ae61937c61c5
Fix rcpath for hgwebdir case (sys.argv is empty)
author | efiring@manini.soest.hawaii.edu |
---|---|
date | Tue, 24 Jan 2006 13:59:11 +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)