equal
deleted
inserted
replaced
18 # |
18 # |
19 # CDDL HEADER END |
19 # CDDL HEADER END |
20 # |
20 # |
21 |
21 |
22 # |
22 # |
23 # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. |
23 # Copyright (c) 2010, 2011, Oracle and/or its affiliates. All rights reserved. |
24 # |
24 # |
25 |
25 |
26 include ../Makefile.doc |
26 include ../Makefile.doc |
27 |
27 |
28 MANPAGES_1 = adrgen.1 vp.1 |
28 MANPAGES_1 = adrgen.1 vp.1 |
43 |
43 |
44 install: $(INSTALLED_FILES) |
44 install: $(INSTALLED_FILES) |
45 |
45 |
46 # Man page rules. Must be updated if new sections are added. |
46 # Man page rules. Must be updated if new sections are added. |
47 |
47 |
|
48 DBOPTS += --param refentry.meta.get.quietly 1 |
|
49 |
|
50 # DocBook's man page stylesheets assume we are using groff with its left- |
|
51 # and right-quote character constants. A more portable approach would be |
|
52 # to reference the left- and right-quote string constants. FIX_MAN maps |
|
53 # from one to the other. |
|
54 |
|
55 FIX_MAN = -echo '1,$$s/(lq/*(lq/g\n1,$$s/(rq/*(rq\nw' | ed -s $@ |
|
56 |
48 %.1: man-%.xml |
57 %.1: man-%.xml |
49 $(XSLT.man) |
58 $(XSLT.man) |
|
59 $(FIX_MAN) |
50 |
60 |
51 %.1m: man-%.xml |
61 %.1m: man-%.xml |
52 $(XSLT.man) |
62 $(XSLT.man) |
|
63 $(FIX_MAN) |
53 |
64 |
54 $(PROTO_MAN)/man1/% $(PROTO_MAN)/man1m/%: % |
65 $(PROTO_MAN)/man1/% $(PROTO_MAN)/man1m/%: % |
55 $(INS.file) |
66 $(INS.file) |
56 |
67 |
57 include $(SRC)/Makefile.targ |
68 include $(SRC)/Makefile.targ |