diff 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
line wrap: on
line diff
--- a/doc/Makefile	Sun Jul 10 16:13:39 2005 -0800
+++ b/doc/Makefile	Sun Jul 10 16:14:06 2005 -0800
@@ -1,7 +1,6 @@
-
-SOURCES=$(wildcard *.1.txt)
-MAN=$(SOURCES:%.1.txt=%.1)
-HTML=$(SOURCES:%.1.txt=%.1.html)
+SOURCES=$(wildcard *.[0-9].txt)
+MAN=$(SOURCES:%.txt=%)
+HTML=$(SOURCES:%.txt=%.html)
 
 all: man
 
@@ -9,14 +8,14 @@
 
 html: $(HTML)
 
-%.1: %.1.xml
-	xmlto man $*.1.xml
+%: %.xml
+	xmlto man $*.xml
 
-%.1.xml: %.1.txt
-	asciidoc -d manpage -b docbook $*.1.txt
+%.xml: %.txt
+	asciidoc -d manpage -b docbook $*.txt
 
-%.1.html: %.1.txt
-	asciidoc -b html $*.1.txt
+%.html: %.txt
+	asciidoc -b html $*.txt
 
 clean:
-	$(RM) $(MAN) $(MAN:%.1=%.1.xml) $(MAN:%.1=%.1.html)
+	$(RM) $(MAN) $(MAN:%=%.xml) $(MAN:%=%.html)