Print this page
Ensured various XPG7 stuff are declared properly in sys/stat.h (and cleanup)
New documentation for wcslen, wcsnlen, wcscasecmp (and friends), wcsdup.
Various other tweaks and markup improvements.
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/man/Makefile.man
+++ new/usr/src/man/Makefile.man
1 1 #
2 2 # This file and its contents are supplied under the terms of the
3 3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 4 # You may only use this file in accordance with the terms of version
5 5 # 1.0 of the CDDL.
6 6 #
7 7 # A full copy of the text of the CDDL should have accompanied this
8 8 # source. A copy of the CDDL is also available via the Internet
9 9 # at http://www.illumos.org/license/CDDL.
10 10 #
11 11
12 12 #
13 13 # Copyright 2011, Richard Lowe
14 14 # Copyright 2014 Nexenta Systems, Inc. All rights reserved.
15 15 #
16 16
17 17 MANDOC= $(ONBLD_TOOLS)/bin/${MACH}/mandoc
18 18 ROOTMAN= $(ROOT)/usr/share/man
19 19 ROOTHASMAN= $(ROOT)/usr/has/man
20 20 FILEMODE= 0444
↓ open down ↓ |
20 lines elided |
↑ open up ↑ |
21 21
22 22 # The manual section being built, client Makefiles must set this to, for e.g.
23 23 # "3perl", with case matching that of the section name as installed.
24 24 #
25 25 # MANSECT=
26 26
27 27 MANCHECKS= $(MANFILES:%=%.check)
28 28 ROOTMANFILES= $(MANFILES:%=$(ROOTMAN)/man$(MANSECT)/%)
29 29 ROOTMANLINKS= $(MANLINKS:%=$(ROOTMAN)/man$(MANSECT)/%)
30 30
31 +all:
32 +
31 33 $(ROOTMAN)/man$(MANSECT)/% $(ROOTHASMAN)/man$(MANSECT)/%: %
32 34 $(INS.file)
33 35
34 36 $(MANCHECKS):
35 37 @$(ECHO) "checking $(@:%.check=%)"; \
36 38 $(MANDOC) -Tlint $(@:%.check=%)
37 39
38 40 $(MANLINKS):
39 41 $(RM) $@; $(SYMLINK) $(LINKSRC) $@
40 42
41 43 $(ROOTMANLINKS): $(MANLINKS)
42 44 $(RM) $@; $(CP) -RP $(@F) $(@D)
43 45
44 -all:
45 -
46 46 check: $(MANCHECKS)
47 47
48 48 clean:
49 49
50 50 clobber:
51 51 $(RM) $(MANLINKS)
52 52
53 53 .PARALLEL:
54 54
55 55 FRC:
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX