Mercurial > hg
view doc/Makefile @ 850:d2bf8b9534b1
Add temporary documentation files and profiling output to .hgignore
author | Samuel Tardieu <sam@rfc1149.net> |
---|---|
date | Sat, 06 Aug 2005 21:18:21 +0100 |
parents | efa4a7e2f322 |
children | b0e581438835 |
line wrap: on
line source
SOURCES=$(wildcard *.[0-9].txt) MAN=$(SOURCES:%.txt=%) HTML=$(SOURCES:%.txt=%.html) all: man man: $(MAN) html: $(HTML) %: %.xml xmlto man $*.xml %.xml: %.txt asciidoc -d manpage -b docbook $*.txt %.html: %.txt asciidoc -b html $*.txt clean: $(RM) $(MAN) $(MAN:%=%.xml) $(MAN:%=%.html)