##// 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
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)