aboutsummaryrefslogblamecommitdiffstats
path: root/debian/rules
blob: 4b200a0dd2239948da960eb24fec8cab36e00dc8 (plain) (tree)
1
2
3
4
5
6
7




                      
                            
 













                                                
#!/usr/bin/make -f

DH_ALWAYS_EXCLUDE=.git

%:
	dh $@ --with python3

override_dh_auto_install:
	python setup.py \
	install \
	--install-lib=usr/share/sosreport/ \
	--install-data=usr/ \
	--install-scripts=usr/share/sosreport/ \
	--root=$(CURDIR)/debian/sosreport/ \
	--no-compile -O0

override_dh_clean:
	rm -rf build/
	rm -rf dist/
	find . -name '*.pyc' -delete