summaryrefslogtreecommitdiff
path: root/debian/rules
blob: 201b286a87dd63aa44a2f0d3dcb6efd402958794 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#DH_VERBOSE=1

# Prevent setuptools/distribute from accessing the internet.
export http_proxy = http://127.0.0.1:9

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

override_dh_auto_install:
	python$* setup.py install --skip-build --root=debian/python-sqlcipher \
		--install-layout=deb

override_dh_python2:
	dh_python2 --no-guessing-versions

override_dh_auto_clean:
	dh_auto_clean
	rm -rf build
	rm -rf docs/_build 
	rm -rf *.egg-info
	find \( -name '._*' -o -name '*.pyc' \) -delete