##// END OF EJS Templates
Modify init command to take an optional directory to set up....
Modify init command to take an optional directory to set up. If the directory does not exist, it is created. If no directory is given, the current directory is used.

File last commit:

r671:efa4a7e2 default
r907:652507dc 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)