summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-11-24 10:00:25 +0000
committerArch Librarian <arch@canonical.com>2004-11-24 10:00:25 +0000
commit35695ec05670c2fa41dcde1ab7f38b08babe5c8e (patch)
tree66b1c404942ff9174d5be1ed3b99528e4e3d615f /debian/rules
parent8d3142533cdefa96f634cb07b41842ea73d24e8f (diff)
downloadpython-apt-35695ec05670c2fa41dcde1ab7f38b08babe5c8e.tar.gz
automatically determine python dependency for new pytho...
Author: rmurray Date: 2002-01-08 07:28:48 GMT automatically determine python dependency for new python policy install a copyright, and /usr/doc links
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules7
1 files changed, 4 insertions, 3 deletions
diff --git a/debian/rules b/debian/rules
index 41c3d63a..ecc8b9ee 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,8 +6,7 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
-#PYTHON=/usr/bin/python2.1
-PYTHON=python
+PYTHON=/usr/bin/python
build: build-stamp
build-stamp:
@@ -38,8 +37,9 @@ binary-arch: build
dh_clean -k
$(PYTHON) setup.py install --prefix=`pwd`/debian/tmp/usr
+ cp COPYING.GPL debian/copyright
-# dh_installdocs README
+ dh_installdocs
# Hooks for doc-base. doc-base doesn't support `pdf' yet,
# therefore this is still disabled.
##XX install -d `pwd`/debian/tmp/usr/share/doc-base
@@ -56,6 +56,7 @@ binary-arch: build
dh_fixperms
dh_installdeb
dh_shlibdeps
+ $(PYTHON) debian/python-dep >> debian/substvars
dh_gencontrol
# dh_makeshlibs
dh_md5sums