PERFORCE change 44949 for review

Chris Vance cvance at FreeBSD.org
Thu Jan 8 16:15:18 GMT 2004


http://perforce.freebsd.org/chv.cgi?CH=44949

Change 44949 by cvance at cvance_sony on 2004/01/08 08:15:13

	Fix Makefile install targets so they work with release building.

Affected files ...

.. //depot/projects/trustedbsd/sebsd/contrib/sebsd/policy/Makefile#12 edit

Differences ...

==== //depot/projects/trustedbsd/sebsd/contrib/sebsd/policy/Makefile#12 (text+ko) ====

@@ -25,6 +25,7 @@
 POLICYVER := policy.16
 INSTALLCMD = install -c -o root -g wheel -m 400 
 INSTALLDIR = $(DESTDIR)/etc/security/sebsd
+APPCONFDIR = $(DESTDIR)/etc/security
 LOADPATH = $(INSTALLDIR)/$(POLICYVER)
 SRCINSTALLDIR = $(INSTALLDIR)/src
 POLICYCONF = $(SRCINSTALLDIR)/policy.conf
@@ -62,9 +63,9 @@
 
 install: $(POLICYVER)
 	$(INSTALLCMD) $(POLICYVER) $(INSTALLDIR)
-	$(INSTALLCMD) appconfig/default_type  /etc/security 
-	$(INSTALLCMD) appconfig/default_contexts  /etc/security 
-	$(INSTALLCMD) appconfig/initrc_context  /etc/security 
+	$(INSTALLCMD) appconfig/default_type  $(APPCONFDIR) 
+	$(INSTALLCMD) appconfig/default_contexts  $(APPCONFDIR) 
+	$(INSTALLCMD) appconfig/initrc_context  $(APPCONFDIR) 
 
 policy.conf: $(FLASKFILES) tmp/te-rbac.m4 users tmp/constraints-contexts.m4
 	cat $> > $@
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message



More information about the trustedbsd-cvs mailing list