comparison doc/Makefile @ 671:efa4a7e2f322

Move hgrc documentation out to its own man page, hgrc(5). # HG changeset patch # User Bryan O'Sullivan <bos@serpentine.com> # Node ID 5076cf1fd6a1b8eb410e5e03cb004ca6a52a30f9 # Parent 7369ec5d93f2ffd490a43970edd9adf8d2bbe269 Move hgrc documentation out to its own man page, hgrc(5). The new man page expands on the existing documentation by describing the file format and the purpose of each section and field.
author Bryan O'Sullivan <bos@serpentine.com>
date Sun, 10 Jul 2005 16:14:06 -0800
parents f8cb8d082d40
children b0e581438835
comparison
equal deleted inserted replaced
670:4efb9b109292 671:efa4a7e2f322
1 1 SOURCES=$(wildcard *.[0-9].txt)
2 SOURCES=$(wildcard *.1.txt) 2 MAN=$(SOURCES:%.txt=%)
3 MAN=$(SOURCES:%.1.txt=%.1) 3 HTML=$(SOURCES:%.txt=%.html)
4 HTML=$(SOURCES:%.1.txt=%.1.html)
5 4
6 all: man 5 all: man
7 6
8 man: $(MAN) 7 man: $(MAN)
9 8
10 html: $(HTML) 9 html: $(HTML)
11 10
12 %.1: %.1.xml 11 %: %.xml
13 xmlto man $*.1.xml 12 xmlto man $*.xml
14 13
15 %.1.xml: %.1.txt 14 %.xml: %.txt
16 asciidoc -d manpage -b docbook $*.1.txt 15 asciidoc -d manpage -b docbook $*.txt
17 16
18 %.1.html: %.1.txt 17 %.html: %.txt
19 asciidoc -b html $*.1.txt 18 asciidoc -b html $*.txt
20 19
21 clean: 20 clean:
22 $(RM) $(MAN) $(MAN:%.1=%.1.xml) $(MAN:%.1=%.1.html) 21 $(RM) $(MAN) $(MAN:%=%.xml) $(MAN:%=%.html)