2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet
9 # at http://www.illumos.org/license/CDDL.
13 # Copyright 2011, Richard Lowe
14 # Copyright 2013 Nexenta Systems, Inc. All rights reserved.
17 include $(SRC
)/Makefile.master
21 MANFILES
= Exacct
.3perl \
22 Exacct\
:\
:Catalog
.3perl \
23 Exacct\
:\
:File
.3perl \
24 Exacct\
:\
:Object
.3perl \
25 Exacct\
:\
:Object\
:\
:Group
.3perl \
26 Exacct\
:\
:Object\
:\
:Item
.3perl \
36 include $(SRC
)/man
/Makefile.man
39 # When KEEP_STATE is in effect and a target has a colon in the name (like the
40 # Exacct::* pages above, dmake will write them to the state file unescaped,
41 # creating a file which then cannot be reparsed, breaking any build other than
42 # the first in this directory:
44 # See CR 6987108 make will write un-escaped :'s to .make.state, break itself
46 # As a workaround, install the files manually in a FRC target.
47 CMD
= $(INS
) -s
-m
$(FILEMODE
) -f
$(ROOTMAN
)/man
$(MANSECT
)
49 @for file in
$(MANFILES
); do \
50 if
[[ $$file -nt
$(ROOTMAN
)/man
$(MANSECT
)/$$file ]]; then \
51 $(ECHO
) $(CMD
) $$file; \
52 $(RM
) $(ROOTMAN
)/man
$(MANSECT
)/$$file; \