diff options
| author | Sylvain Thénault <sylvain.thenault@logilab.fr> | 2013-07-29 17:37:29 +0200 |
|---|---|---|
| committer | Sylvain Thénault <sylvain.thenault@logilab.fr> | 2013-07-29 17:37:29 +0200 |
| commit | 25a6e43f067c2eb842c6acb2eb1909ba7b1775ac (patch) | |
| tree | 0f895ff464849d82adf11c93e9c30abc0ff0ea29 /debian | |
| parent | 741e50193acac6336763ae4fc20e0b1f30f11203 (diff) | |
| download | astroid-git-25a6e43f067c2eb842c6acb2eb1909ba7b1775ac.tar.gz | |
[debian] fix rules (no more a logilab'subpackageastroid-version-1.0.0
Diffstat (limited to 'debian')
| -rwxr-xr-x | debian/rules | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/debian/rules b/debian/rules index 5dca9291..8f1c2a50 100755 --- a/debian/rules +++ b/debian/rules @@ -5,7 +5,7 @@ # adapted by Logilab for automatic generation by debianize # (part of the devtools project, http://www.logilab.org/projects/devtools) # -# Copyright (c) 2003-2010 LOGILAB S.A. (Paris, FRANCE). +# Copyright (c) 2003-2013 LOGILAB S.A. (Paris, FRANCE). # http://www.logilab.fr/ -- mailto:contact@logilab.fr # Uncomment this to turn on verbose mode. @@ -40,13 +40,9 @@ install: build --root=$(CURDIR)/debian/python-astroid/ \ --install-layout=deb - # remove sub-package __init__ file (created in postinst) - rm debian/python-astroid/usr/lib/python*/*-packages/logilab/__init__.py - # remove test directory (installed in a separated package) - rm -rf debian/python-astroid/usr/lib/python*/*-packages/logilab/astroid/test - - # install tests - (cd test && find . -type f -not \( -path '*/CVS/*' -or -name '*.pyc' \) -exec install -D --mode=644 {} ../debian/python-astroid/usr/share/doc/python-astroid/test/{} \;) + # remove test directory from *-packages and install them in /usr/share/doc/ + rm -rf debian/python-astroid/usr/lib/python*/*-packages/astroid/test + (cd test && find . -type f -not \( -name '*.pyc' \) -exec install -D --mode=644 {} ../debian/python-astroid/usr/share/doc/python-astroid/test/{} \;) # Build architecture-independent files here. binary-indep: build install |
