diff options
| author | Michael Vogt <egon@bottom> | 2006-07-25 13:18:15 +0200 |
|---|---|---|
| committer | Michael Vogt <egon@bottom> | 2006-07-25 13:18:15 +0200 |
| commit | d27dee5e4d80f10a8a37cf59e855484c4016e6b1 (patch) | |
| tree | ba77e5230b59ed4a0f55d3d796bd7808b5b12727 /debian/rules | |
| parent | e491706947931c8d67b42a37c9de6f3a08098ac4 (diff) | |
| parent | 71022104cf64547ba54029555799d72e6fb8027f (diff) | |
| download | python-apt-d27dee5e4d80f10a8a37cf59e855484c4016e6b1.tar.gz | |
* merged from mainline
Diffstat (limited to 'debian/rules')
| -rwxr-xr-x | debian/rules | 24 |
1 files changed, 7 insertions, 17 deletions
diff --git a/debian/rules b/debian/rules index 584abdf5..ee159b89 100755 --- a/debian/rules +++ b/debian/rules @@ -12,7 +12,7 @@ DEB_BUILD_PROG:=debuild --preserve-envvar PATH --preserve-envvar CCACHE_DIR -us # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 -PYTHON=python2.3 python2.4 +PYTHON=$(shell pyversions -r debian/control) build: build-stamp build-stamp: @@ -38,18 +38,6 @@ clean: # Build architecture-independent files here. binary-indep: DH_OPTIONS=-i binary-indep: build - dh_testdir - dh_testroot - dh_installdocs - dh_installexamples doc/examples/*.py - dh_installchangelogs - dh_compress - dh_fixperms - dh_installdeb - dh_python - dh_gencontrol - dh_md5sums - dh_builddeb # Build architecture-dependent files here. binary-arch: DH_OPTIONS=-a @@ -57,19 +45,21 @@ binary-arch: build dh_testdir dh_testroot dh_clean -k - + for PY in $(PYTHON); do \ - /usr/bin/$$PY setup.py install --prefix=`pwd`/debian/$${PY}-apt/usr; \ + /usr/bin/$$PY setup.py install --prefix=`pwd`/debian/python-apt/usr; \ done - + dh_installdocs dh_installchangelogs + dh_installexamples + dh_pycentral + dh_python dh_strip dh_compress dh_fixperms dh_installdeb dh_shlibdeps - dh_python dh_gencontrol dh_md5sums dh_builddeb |
