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




                      

                            













                                                
#!/usr/bin/make -f

DH_ALWAYS_EXCLUDE=.git

%:
	dh $@ --with python2

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