##// END OF EJS Templates
doc: styles for man page, which suit with the mercurial website...
doc: styles for man page, which suit with the mercurial website designed loosely based on: http://mercurial.selenic.com/css/styles.css with some modifications by intention: * visited links are colored differently * no fixed size * works without typeface.js we keep most styles, which is from docutils, untouched. tested with: * MSIE 6.0 on Windows * Firefox 3.5 on Linux

File last commit:

r1500:cadde8eb default
r9794:ec853380 default
Show More
Makefile
21 lines | 350 B | text/x-makefile | MakefileLexer
SOURCES=$(wildcard *.[0-9].ja.txt)
MAN=$(SOURCES:%.txt=%)
HTML=$(SOURCES:%.txt=%.html)
all: man html
man: $(MAN)
html: $(HTML)
%: %.xml
xmlto -x docbook.ja.xsl man $*.xml
%.xml: %.txt
-asciidoc -d manpage -b docbook -f docbook.ja.conf $*.txt
%.html: %.txt
asciidoc -b html4 $*.txt
clean:
$(RM) $(MAN:%.ja=%) $(MAN:%=%.xml) $(MAN:%=%.html)