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