xref: /illumos-gate/usr/src/cmd/refer/papers/Makefile (revision 55fea89d)
17c478bd9Sstevel@tonic-gate#
27c478bd9Sstevel@tonic-gate#ident	"%Z%%M%	%I%	%E% SMI"
37c478bd9Sstevel@tonic-gate#
47c478bd9Sstevel@tonic-gate# Copyright (c) 1989 by Sun Microsystems, Inc.
57c478bd9Sstevel@tonic-gate#
67c478bd9Sstevel@tonic-gate# Makefile for cmd/refer/papers
77c478bd9Sstevel@tonic-gate#
87c478bd9Sstevel@tonic-gate
97c478bd9Sstevel@tonic-gateinclude		../../Makefile.cmd
107c478bd9Sstevel@tonic-gate
117c478bd9Sstevel@tonic-gateROOTDIRS =	$(ROOT)/usr/lib/refer/papers
127c478bd9Sstevel@tonic-gate
137c478bd9Sstevel@tonic-gatePAPERS =	Rbstjissue runinv Rv7man
147c478bd9Sstevel@tonic-gateROOTPAPERS =	$(PAPERS:%=$(ROOTDIRS)/%)
157c478bd9Sstevel@tonic-gate
167c478bd9Sstevel@tonic-gate
177c478bd9Sstevel@tonic-gateFILEMODE =	644
187c478bd9Sstevel@tonic-gate
197c478bd9Sstevel@tonic-gate$(ROOTDIRS)/runinv := FILEMODE = 755
207c478bd9Sstevel@tonic-gate
217c478bd9Sstevel@tonic-gate# install rule
227c478bd9Sstevel@tonic-gate$(ROOTDIRS)/% :	%
237c478bd9Sstevel@tonic-gate		$(INS.file)
247c478bd9Sstevel@tonic-gate
257c478bd9Sstevel@tonic-gate.KEEP_STATE:
267c478bd9Sstevel@tonic-gate
27*55fea89dSDan Crossall :		$(PAPERS)
287c478bd9Sstevel@tonic-gate
297c478bd9Sstevel@tonic-gateinstall: 	all $(ROOTDIRS) $(ROOTPAPERS)
307c478bd9Sstevel@tonic-gate
317c478bd9Sstevel@tonic-gate$(ROOTDIRS) :
327c478bd9Sstevel@tonic-gate		$(INS.dir)
337c478bd9Sstevel@tonic-gate
347c478bd9Sstevel@tonic-gateclean clobber strip:
35