This way it will work independently from where qrexec-policy tool will be called (in most cases - from a system service, as root). This is also very similar architecture to what we'll need when moving to GUI domain - there GUI part will also be separated from policy evaluation logic. QubesOS/qubes-issues#910
		
			
				
	
	
		
			16 lines
		
	
	
		
			635 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			635 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
all:
 | 
						|
	true
 | 
						|
 | 
						|
install:
 | 
						|
	mkdir -p $(DESTDIR)/etc/xen/scripts
 | 
						|
	cp vif-route-qubes $(DESTDIR)/etc/xen/scripts
 | 
						|
	cp block-snapshot $(DESTDIR)/etc/xen/scripts
 | 
						|
	ln -s block-snapshot $(DESTDIR)/etc/xen/scripts/block-origin
 | 
						|
	install -d $(DESTDIR)/etc/xdg/autostart
 | 
						|
	install -m 0644 qubes-guid.desktop $(DESTDIR)/etc/xdg/autostart/
 | 
						|
	install -m 0644 qrexec-policy-agent.desktop $(DESTDIR)/etc/xdg/autostart/
 | 
						|
	install -m 0644 -D tmpfiles-qubes.conf $(DESTDIR)/usr/lib/tmpfiles.d/qubes.conf
 | 
						|
	install -d $(DESTDIR)/etc/dbus-1/system.d
 | 
						|
	install -m 0644 dbus-org.qubesos.PolicyAgent.conf  \
 | 
						|
		$(DESTDIR)/etc/dbus-1/system.d/org.qubesos.PolicyAgent.conf
 |