xref: /titanic_44/usr/src/man/man3perl/Makefile (revision c10c16dec587a0662068f6e2991c29ed3a9db943)
1*c10c16deSRichard Lowe#
2*c10c16deSRichard Lowe# This file and its contents are supplied under the terms of the
3*c10c16deSRichard Lowe# Common Development and Distribution License ("CDDL"), version 1.0.
4*c10c16deSRichard Lowe# You may only use this file in accordance with the terms of version
5*c10c16deSRichard Lowe# 1.0 of the CDDL.
6*c10c16deSRichard Lowe#
7*c10c16deSRichard Lowe# A full copy of the text of the CDDL should have accompanied this
8*c10c16deSRichard Lowe# source.  A copy of the CDDL is also available via the Internet
9*c10c16deSRichard Lowe# at http://www.illumos.org/license/CDDL.
10*c10c16deSRichard Lowe#
11*c10c16deSRichard Lowe
12*c10c16deSRichard Lowe# Copyright 2011, Richard Lowe
13*c10c16deSRichard Lowe
14*c10c16deSRichard Loweinclude ../../Makefile.master
15*c10c16deSRichard Lowe
16*c10c16deSRichard LoweMANSECT =	3perl
17*c10c16deSRichard Lowe
18*c10c16deSRichard LoweMANFILES =	Exacct.3perl			\
19*c10c16deSRichard Lowe	 	Exacct\:\:Catalog.3perl		\
20*c10c16deSRichard Lowe	 	Exacct\:\:File.3perl		\
21*c10c16deSRichard Lowe	 	Exacct\:\:Object.3perl		\
22*c10c16deSRichard Lowe	 	Exacct\:\:Object\:\:Group.3perl \
23*c10c16deSRichard Lowe	 	Exacct\:\:Object\:\:Item.3perl	\
24*c10c16deSRichard Lowe	 	Kstat.3perl			\
25*c10c16deSRichard Lowe	 	Lgrp.3perl			\
26*c10c16deSRichard Lowe	 	Privilege.3perl			\
27*c10c16deSRichard Lowe	 	Project.3perl			\
28*c10c16deSRichard Lowe	 	Task.3perl			\
29*c10c16deSRichard Lowe	 	Ucred.3perl
30*c10c16deSRichard Lowe
31*c10c16deSRichard Lowe.KEEP_STATE:
32*c10c16deSRichard Lowe
33*c10c16deSRichard Loweinclude ../Makefile.man
34*c10c16deSRichard Lowe
35*c10c16deSRichard Lowe#
36*c10c16deSRichard Lowe# When KEEP_STATE is in effect and a target has a colon in the name (like the
37*c10c16deSRichard Lowe# Exacct::* pages above, dmake will write them to the state file unescaped,
38*c10c16deSRichard Lowe# creating a file which then cannot be reparsed, breaking any build other than
39*c10c16deSRichard Lowe# the first in this directory:
40*c10c16deSRichard Lowe#
41*c10c16deSRichard Lowe# See CR 6987108 make will write un-escaped :'s to .make.state, break itself
42*c10c16deSRichard Lowe#
43*c10c16deSRichard Lowe# As a workaround, install the files manually in a FRC target.
44*c10c16deSRichard LoweCMD= $(INS) -s -m $(FILEMODE) -f $(ROOTMAN)/man$(MANSECT)
45*c10c16deSRichard Loweinstall: FRC
46*c10c16deSRichard Lowe	@for file in $(MANFILES); do				\
47*c10c16deSRichard Lowe		if [[ $$file -nt $(ROOTMAN)/man$(MANSECT)/$$file ]]; then	\
48*c10c16deSRichard Lowe			$(ECHO) $(CMD) $$file;				\
49*c10c16deSRichard Lowe			$(RM) $(ROOTMAN)man$(MANSECT)/$$file;			\
50*c10c16deSRichard Lowe			$(CMD) $$file;					\
51*c10c16deSRichard Lowe		fi							\
52*c10c16deSRichard Lowe	done;
53