annotate doc/Makefile @ 597:e530637ea060

[PATCH] use <arpa/inet.h> instead of <netinet/in.h> for ntohl/htonl -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 [PATCH] use <arpa/inet.h> instead of <netinet/in.h> for ntohl/htonl From: Jed Davis <jdev@panix.com> This fixes the Mac OS X build problem; hopefully it won't break any other OSes, especially since SUSv3 says arpa/inet is the right header. ( http://www.opengroup.org/onlinepubs/009695399/functions/ntohl.html ) manifest hash: 2f06ff0cffefdb35e794131afcd1f34f9fdfa5cf -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCyEoFywK+sNU5EO8RAk6WAJ9v/pnr07zUXKM9EBQQGaKSZAlhxACdHrwS XTLSL6pPGAwaRfExGF2A3DQ= =Rtv9 -----END PGP SIGNATURE-----
author mpm@selenic.com
date Sun, 03 Jul 2005 12:26:45 -0800
parents f8cb8d082d40
children efa4a7e2f322
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
465
f8cb8d082d40 Add a doc makefile
mpm@selenic.com
parents:
diff changeset
1
f8cb8d082d40 Add a doc makefile
mpm@selenic.com
parents:
diff changeset
2 SOURCES=$(wildcard *.1.txt)
f8cb8d082d40 Add a doc makefile
mpm@selenic.com
parents:
diff changeset
3 MAN=$(SOURCES:%.1.txt=%.1)
f8cb8d082d40 Add a doc makefile
mpm@selenic.com
parents:
diff changeset
4 HTML=$(SOURCES:%.1.txt=%.1.html)
f8cb8d082d40 Add a doc makefile
mpm@selenic.com
parents:
diff changeset
5
f8cb8d082d40 Add a doc makefile
mpm@selenic.com
parents:
diff changeset
6 all: man
f8cb8d082d40 Add a doc makefile
mpm@selenic.com
parents:
diff changeset
7
f8cb8d082d40 Add a doc makefile
mpm@selenic.com
parents:
diff changeset
8 man: $(MAN)
f8cb8d082d40 Add a doc makefile
mpm@selenic.com
parents:
diff changeset
9
f8cb8d082d40 Add a doc makefile
mpm@selenic.com
parents:
diff changeset
10 html: $(HTML)
f8cb8d082d40 Add a doc makefile
mpm@selenic.com
parents:
diff changeset
11
f8cb8d082d40 Add a doc makefile
mpm@selenic.com
parents:
diff changeset
12 %.1: %.1.xml
f8cb8d082d40 Add a doc makefile
mpm@selenic.com
parents:
diff changeset
13 xmlto man $*.1.xml
f8cb8d082d40 Add a doc makefile
mpm@selenic.com
parents:
diff changeset
14
f8cb8d082d40 Add a doc makefile
mpm@selenic.com
parents:
diff changeset
15 %.1.xml: %.1.txt
f8cb8d082d40 Add a doc makefile
mpm@selenic.com
parents:
diff changeset
16 asciidoc -d manpage -b docbook $*.1.txt
f8cb8d082d40 Add a doc makefile
mpm@selenic.com
parents:
diff changeset
17
f8cb8d082d40 Add a doc makefile
mpm@selenic.com
parents:
diff changeset
18 %.1.html: %.1.txt
f8cb8d082d40 Add a doc makefile
mpm@selenic.com
parents:
diff changeset
19 asciidoc -b html $*.1.txt
f8cb8d082d40 Add a doc makefile
mpm@selenic.com
parents:
diff changeset
20
f8cb8d082d40 Add a doc makefile
mpm@selenic.com
parents:
diff changeset
21 clean:
f8cb8d082d40 Add a doc makefile
mpm@selenic.com
parents:
diff changeset
22 $(RM) $(MAN) $(MAN:%.1=%.1.xml) $(MAN:%.1=%.1.html)