diff options
author | Alexandre Fayolle <alexandre.fayolle@logilab.fr> | 2009-07-02 10:05:59 +0200 |
---|---|---|
committer | Alexandre Fayolle <alexandre.fayolle@logilab.fr> | 2009-07-02 10:05:59 +0200 |
commit | 3d97c36353fcc9cbc4e769b14c3a495f2843c01e (patch) | |
tree | 904b5dee645a78386321a2b74e89ea052a711715 /debian/rules | |
parent | e48dd359d591deb0c071e499664d8a8354dac930 (diff) | |
download | pylint-3d97c36353fcc9cbc4e769b14c3a495f2843c01e.tar.gz |
backported Debian packaging stuff from Debian
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/debian/rules b/debian/rules index b1d09f9..725d29e 100755 --- a/debian/rules +++ b/debian/rules @@ -25,7 +25,9 @@ clean: find . -name "*.pyc" -delete - dh_clean build-stamp build + rm -rf build + + dh_clean build-stamp install: build dh_testdir @@ -33,9 +35,11 @@ install: build dh_clean -k dh_installdirs - NO_SETUPTOOLS=1 python setup.py -q install --no-compile --prefix=debian/pylint/usr/ + NO_SETUPTOOLS=1 python setup.py -q install --no-compile \ + --root=$(CURDIR)/debian/pylint \ + --install-layout=deb - rm -rf debian/pylint/usr/lib/python*/site-packages/pylint/test + rm -rf debian/pylint/usr/lib/python*/*-packages/pylint/test # fixes shebangs for exec in pylint pylint-gui symilar ; do \ |