aboutsummaryrefslogblamecommitdiffstats
path: root/debian/rules
blob: 7a889d24e84eee4d0e659b6a17cadd91449f0526 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                                                                 
                                                                                                        
#!/usr/bin/make -f

export PYBUILD_NAME=sosreport

%:
	dh $@ --with python3 --buildsystem=pybuild

override_dh_install:
	# Move config file to the right location.
	mv debian/sosreport/usr/config/sos.conf debian/sosreport/etc/sos/sos.conf
	# Remove unnecessary unused dir.
	rm -rf debian/sosreport/usr/config

override_dh_auto_test:
	nosetests3 -v --with-cover --cover-package=sos tests/unittests --ignore-files="policy_tests\.py"