 665453da76
			
		
	
	
		665453da76
		
			
		
	
	
	
	
		
			
			Thanks to @unman and @marmarek for suggesting the fix! Fixes https://github.com/QubesOS/qubes-issues/issues/1128. - Changed 'ifeq (1,${DEBIANBUILD})' to 'ifeq ($(shell lsb_release -is), Debian)' to make the build work outside of Qubes Builder as well.
		
			
				
	
	
		
			25 lines
		
	
	
		
			468 B
		
	
	
	
		
			Makefile
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			468 B
		
	
	
	
		
			Makefile
		
	
	
		
			Executable File
		
	
	
	
	
| #!/usr/bin/make -f
 | |
| # -*- makefile -*-
 | |
| 
 | |
| # Uncomment this to turn on verbose mode.
 | |
| #export DH_VERBOSE=1
 | |
| 
 | |
| include /usr/share/dpkg/default.mk
 | |
| export DESTDIR=$(shell pwd)/debian/qubes-core-agent
 | |
| 
 | |
| %:
 | |
| 	dh $@ --with systemd --with=config-package
 | |
| 
 | |
| override_dh_auto_build:
 | |
| 	make all
 | |
| 
 | |
| override_dh_auto_install:
 | |
| 	make install-deb
 | |
| 	make -C qrexec install
 | |
| 
 | |
| override_dh_fixperms:
 | |
| 	dh_fixperms -a -Xqfile-unpacker
 | |
| 
 | |
| override_dh_systemd_start:
 | |
| 	dh_systemd_start --no-restart-on-upgrade
 |