summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules20
1 files changed, 17 insertions, 3 deletions
diff --git a/debian/rules b/debian/rules
index dd12cc51f..903fa0919 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,9 +10,23 @@ PYTHON2=$(shell pyversions -vr)
export http_proxy = http://127.0.9.1:9
%:
- dh $@ --with python2
+ 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 -rf build
- rm -rf *.egg-info
+ rm -f install.list