##// END OF EJS Templates
Updated help synopsises and reordered some options. Dropped [-n] from revert.
Updated help synopsises and reordered some options. Dropped [-n] from revert.

File last commit:

r1814:7956893e default
r1816:08f4398b default
Show More
Makefile
27 lines | 413 B | text/x-makefile | MakefileLexer
SOURCES=$(wildcard *.[0-9].txt)
MAN=$(SOURCES:%.txt=%)
HTML=$(SOURCES:%.txt=%.html)
all: man html
man: $(MAN)
html: $(HTML)
hg.1.txt: hg.1.gendoc.txt
touch hg.1.txt
hg.1.gendoc.txt:
python gendoc.py > $@
%: %.xml
xmlto man $*.xml
%.xml: %.txt
asciidoc -d manpage -b docbook $*.txt
%.html: %.txt
asciidoc -b html4 $*.txt || asciidoc -b html $*.txt
clean:
$(RM) $(MAN) $(MAN:%=%.xml) $(MAN:%=%.html)