File: rules

package info (click to toggle)
bley 2.0.0-2
  • links: PTS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch
  • size: 328 kB
  • sloc: python: 1,579; sh: 147; makefile: 55
file content (25 lines) | stat: -rwxr-xr-x 721 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/usr/bin/make -f
# -*- makefile -*-

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

%:
	dh  $@ --buildsystem=python_distutils --with python2 --with systemd

override_dh_install:
	dh_install
	mv $(CURDIR)/debian/bley/etc/bley/bley.conf.example $(CURDIR)/debian/bley/etc/bley/bley.conf
	mv $(CURDIR)/debian/bley/etc/bley/whitelist_recipients.example $(CURDIR)/debian/bley/etc/bley/whitelist_recipients
	mv $(CURDIR)/debian/bley/etc/bley/whitelist_clients.example $(CURDIR)/debian/bley/etc/bley/whitelist_clients


override_dh_auto_clean:
	dh_auto_clean
	$(RM) -rf bley.egg-info

override_dh_auto_test:
	# skip for now

override_dh_python2:
	dh_python2 --requires=requirements.txt --depends=Twisted-Names