xref: /titanic_41/usr/src/cmd/refer/papers/Makefile (revision 5b2ba9d3d1e04dde804c89e9879f7dfc9bcebf61)
1#
2#ident	"%Z%%M%	%I%	%E% SMI"
3#
4# Copyright (c) 1989 by Sun Microsystems, Inc.
5#
6# Makefile for cmd/refer/papers
7#
8
9include		../../Makefile.cmd
10
11ROOTDIRS =	$(ROOT)/usr/lib/refer/papers
12
13PAPERS =	Rbstjissue runinv Rv7man
14ROOTPAPERS =	$(PAPERS:%=$(ROOTDIRS)/%)
15
16
17FILEMODE =	644
18
19$(ROOTDIRS)/runinv := FILEMODE = 755
20
21# install rule
22$(ROOTDIRS)/% :	%
23		$(INS.file)
24
25.KEEP_STATE:
26
27all :		$(PAPERS)
28
29install: 	all $(ROOTDIRS) $(ROOTPAPERS)
30
31$(ROOTDIRS) :
32		$(INS.dir)
33
34clean clobber strip:
35