doc/Makefile
author mpm@selenic.com
Tue, 28 Jun 2005 02:22:45 -0800
changeset 505 dc1f735dfaac
parent 465 f8cb8d082d40
child 671 efa4a7e2f322
permissions -rw-r--r--
[PATCH] Fix "no-update" option to clone -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 [PATCH] Fix "no-update" option to clone From: Bryan O'Sullivan <bos@serpentine.com> Turn "no-update" (invalid Python identifier) into "noupdate". manifest hash: 1dfb3212b97531437d5a243813896c090a05d95a -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCwST1ywK+sNU5EO8RAvGnAJ9/RvohYRxpMTWkK6YCiF6r3U68FACeNRcr mE/NYJzVbijiLK9TwWm8QgQ= =w/KV -----END PGP SIGNATURE-----


SOURCES=$(wildcard *.1.txt)
MAN=$(SOURCES:%.1.txt=%.1)
HTML=$(SOURCES:%.1.txt=%.1.html)

all: man

man: $(MAN)

html: $(HTML)

%.1: %.1.xml
	xmlto man $*.1.xml

%.1.xml: %.1.txt
	asciidoc -d manpage -b docbook $*.1.txt

%.1.html: %.1.txt
	asciidoc -b html $*.1.txt

clean:
	$(RM) $(MAN) $(MAN:%.1=%.1.xml) $(MAN:%.1=%.1.html)