#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

%:
	dh $@ --with=python2

override_dh_auto_%:
	$(@:override_%=%) -Spython_distutils

override_dh_auto_install:
	dh_auto_install -Spython_distutils --			\
		--install-lib=/usr/share/smart-notifier		\
		--install-scripts=/usr/share/smart-notifier	\
		--single-version-externally-managed

override_dh_install:
	dh_install
	chmod 0755 debian/smart-notifier/etc/smartmontools/run.d/60smart-notifier
