##// END OF EJS Templates
Get commands to raise Abort instead of ui.warn(...),sys.exit(1).
Get commands to raise Abort instead of ui.warn(...),sys.exit(1).

File last commit:

r671:efa4a7e2 default
r727:acee766f default
Show More
Makefile
21 lines | 296 B | text/x-makefile | MakefileLexer
Bryan O'Sullivan
Move hgrc documentation out to its own man page, hgrc(5)....
r671 SOURCES=$(wildcard *.[0-9].txt)
MAN=$(SOURCES:%.txt=%)
HTML=$(SOURCES:%.txt=%.html)
mpm@selenic.com
Add a doc makefile...
r465
all: man
man: $(MAN)
html: $(HTML)
Bryan O'Sullivan
Move hgrc documentation out to its own man page, hgrc(5)....
r671 %: %.xml
xmlto man $*.xml
mpm@selenic.com
Add a doc makefile...
r465
Bryan O'Sullivan
Move hgrc documentation out to its own man page, hgrc(5)....
r671 %.xml: %.txt
asciidoc -d manpage -b docbook $*.txt
mpm@selenic.com
Add a doc makefile...
r465
Bryan O'Sullivan
Move hgrc documentation out to its own man page, hgrc(5)....
r671 %.html: %.txt
asciidoc -b html $*.txt
mpm@selenic.com
Add a doc makefile...
r465
clean:
Bryan O'Sullivan
Move hgrc documentation out to its own man page, hgrc(5)....
r671 $(RM) $(MAN) $(MAN:%=%.xml) $(MAN:%=%.html)