File: rules

package info (click to toggle)
smart-notifier 0.28-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 288 kB
  • sloc: xml: 103; python: 81; makefile: 30; sh: 21
file content (18 lines) | stat: -rwxr-xr-x 554 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

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

export PYBUILD_INSTALL_ARGS =                           \
	--install-lib=/usr/share/smart-notifier         \
	--install-scripts=/usr/share/smart-notifier     \
	--single-version-externally-managed
%:
	dh $@ --with=python3 --buildsystem=pybuild

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

override_dh_auto_test:
	# we don't have tests, don't try running unittest, or it'll break trying to connect to dbus