Mercurial > hg > mercurial-crew-with-dirclash
view doc/Makefile @ 1540:8ca9f5b17257
minor optimization: save some string trash
author | twaldmann@thinkmo.de |
---|---|
date | Mon, 14 Nov 2005 02:30:19 +0200 |
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)