From 8781ad4792d96cefc7c2299a349c1aab8332425e Mon Sep 17 00:00:00 2001 From: Cyril Brulebois Date: Thu, 7 Apr 2016 19:28:56 +0200 Subject: Prepare installing files manually. Signed-off-by: Cyril Brulebois --- debian/rules | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) (limited to 'debian') 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 -- cgit v1.2.3