1*906afcb8SAndy Fiddaman# 2*906afcb8SAndy Fiddaman# CDDL HEADER START 3*906afcb8SAndy Fiddaman# 4*906afcb8SAndy Fiddaman# The contents of this file are subject to the terms of the 5*906afcb8SAndy Fiddaman# Common Development and Distribution License (the "License"). 6*906afcb8SAndy Fiddaman# You may not use this file except in compliance with the License. 7*906afcb8SAndy Fiddaman# 8*906afcb8SAndy Fiddaman# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*906afcb8SAndy Fiddaman# or http://www.opensolaris.org/os/licensing. 10*906afcb8SAndy Fiddaman# See the License for the specific language governing permissions 11*906afcb8SAndy Fiddaman# and limitations under the License. 12*906afcb8SAndy Fiddaman# 13*906afcb8SAndy Fiddaman# When distributing Covered Code, include this CDDL HEADER in each 14*906afcb8SAndy Fiddaman# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*906afcb8SAndy Fiddaman# If applicable, add the following below this CDDL HEADER, with the 16*906afcb8SAndy Fiddaman# fields enclosed by brackets "[]" replaced with your own identifying 17*906afcb8SAndy Fiddaman# information: Portions Copyright [yyyy] [name of copyright owner] 18*906afcb8SAndy Fiddaman# 19*906afcb8SAndy Fiddaman# CDDL HEADER END 20*906afcb8SAndy Fiddaman# 21*906afcb8SAndy Fiddaman 22*906afcb8SAndy Fiddaman# 23*906afcb8SAndy Fiddaman# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 24*906afcb8SAndy Fiddaman# Use is subject to license terms. 25*906afcb8SAndy Fiddaman# 26*906afcb8SAndy Fiddaman# Copyright 2021 OmniOS Community Edition (OmniOSce) Association. 27*906afcb8SAndy Fiddaman# 28*906afcb8SAndy Fiddaman 29*906afcb8SAndy FiddamanROOTDOCDIRBASE= $(ROOT)/usr/share/doc/ksh 30*906afcb8SAndy Fiddaman 31*906afcb8SAndy FiddamanDOCFILES= \ 32*906afcb8SAndy Fiddaman RELEASE \ 33*906afcb8SAndy Fiddaman README \ 34*906afcb8SAndy Fiddaman TYPES \ 35*906afcb8SAndy Fiddaman DESIGN \ 36*906afcb8SAndy Fiddaman COMPATIBILITY \ 37*906afcb8SAndy Fiddaman OBSOLETE \ 38*906afcb8SAndy Fiddaman shell_styleguide.docbook \ 39*906afcb8SAndy Fiddaman images/tag_bourne.png \ 40*906afcb8SAndy Fiddaman images/tag_i18n.png \ 41*906afcb8SAndy Fiddaman images/tag_ksh88.png \ 42*906afcb8SAndy Fiddaman images/tag_ksh93.png \ 43*906afcb8SAndy Fiddaman images/tag_ksh.png \ 44*906afcb8SAndy Fiddaman images/tag_l10n.png \ 45*906afcb8SAndy Fiddaman images/tag_perf.png \ 46*906afcb8SAndy Fiddaman images/callouts/1.png \ 47*906afcb8SAndy Fiddaman images/callouts/2.png \ 48*906afcb8SAndy Fiddaman images/callouts/3.png \ 49*906afcb8SAndy Fiddaman images/callouts/4.png \ 50*906afcb8SAndy Fiddaman images/callouts/5.png \ 51*906afcb8SAndy Fiddaman images/callouts/6.png \ 52*906afcb8SAndy Fiddaman images/callouts/7.png \ 53*906afcb8SAndy Fiddaman images/callouts/8.png \ 54*906afcb8SAndy Fiddaman images/callouts/9.png \ 55*906afcb8SAndy Fiddaman images/callouts/10.png 56*906afcb8SAndy Fiddaman 57*906afcb8SAndy Fiddaman# Documentation rules 58*906afcb8SAndy Fiddaman$(ROOTDOCDIRBASE)/%: $(ASTSRC)/% 59*906afcb8SAndy Fiddaman $(INS.file) 60*906afcb8SAndy Fiddaman 61*906afcb8SAndy Fiddaman$(ROOTDOCDIRBASE)/%: misc/% 62*906afcb8SAndy Fiddaman $(INS.file) 63*906afcb8SAndy Fiddaman 64*906afcb8SAndy FiddamanROOTDOCDIRS= \ 65*906afcb8SAndy Fiddaman $(ROOTDOCDIRBASE) .WAIT \ 66*906afcb8SAndy Fiddaman $(ROOTDOCDIRBASE)/images .WAIT \ 67*906afcb8SAndy Fiddaman $(ROOTDOCDIRBASE)/images/callouts 68*906afcb8SAndy Fiddaman 69*906afcb8SAndy Fiddaman# Generic documentation rules 70*906afcb8SAndy FiddamanDOCFILESRCDIR= common 71*906afcb8SAndy FiddamanROOTDOCFILES= $(DOCFILES:%=$(ROOTDOCDIRBASE)/%) 72*906afcb8SAndy Fiddaman$(ROOTDOCDIRS) := OWNER = root 73*906afcb8SAndy Fiddaman$(ROOTDOCDIRS) := GROUP = bin 74*906afcb8SAndy Fiddaman$(ROOTDOCDIRS) := DIRMODE = 755 75*906afcb8SAndy Fiddaman 76*906afcb8SAndy Fiddaman$(ROOTDOCDIRS): 77*906afcb8SAndy Fiddaman $(INS.dir) 78*906afcb8SAndy Fiddaman 79*906afcb8SAndy Fiddaman_docinstall: $(ROOTDOCDIRS) .WAIT $(ROOTDOCFILES) 80*906afcb8SAndy Fiddamaninstall: _docinstall 81