summaryrefslogtreecommitdiff
path: root/debian/rules
blob: 903fa091994670608797989e084d389aa83ea8dd (plain)
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
26
27
28
29
30
31
32
#!/usr/bin/make -f
# -*- makefile -*-

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

PYTHON2=$(shell pyversions -vr)

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

%:
	dh $@

override_dh_auto_build:
	echo "Building does nothing"

override_dh_auto_configure:
	echo "Configuring does nothing"

override_dh_auto_install:
	git ls-files \
		| grep -v ^debian \
		| grep -v ^django-simple-history \
		| grep -v ^doc \
	> install.list
	mkdir -p debian/tmp/var/lib/python-django-ishtar
	rsync -av --files-from install.list . debian/tmp/var/lib/python-django-ishtar

override_dh_auto_clean:
	dh_auto_clean
	rm -f install.list