X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=debian%2Frules;h=256c40a0eca1c6ba29ecda1d0721d32a157eab92;hb=ed59af706296e9e86bf5d6e0dbd9810976d1f7bd;hp=8af895b76d3505c1282050f9afafcc4fa3fd1674;hpb=7b229c4db5ae4d45dc08cc94c63460395f8e06f1;p=dak.git diff --git a/debian/rules b/debian/rules index 8af895b7..256c40a0 100755 --- a/debian/rules +++ b/debian/rules @@ -2,13 +2,15 @@ # debian/rules file - for Katie (0.0) # Based on sample debian/rules file - for GNU Hello (1.3). # Copyright 1994,1995 by Ian Jackson. -# Copyright 1998,1999,2000,2001 James Troup +# Copyright 1998,1999,2000,2001,2002 James Troup # I hereby give you perpetual unlimited permission to copy, # modify and relicense this file, provided that you do not remove # my name from the file itself. (I assert my moral right of # paternity under the Copyright, Designs and Patents Act 1988.) # This file may have to be extensively modified +PYTHONVER := `/usr/bin/python -c 'import sys;print sys.version[:3]'` + build: build-stamp build-stamp: $(MAKE) @@ -30,7 +32,7 @@ binary-indep: checkroot build install -d debian/tmp/usr/bin/ install -m 755 andrea catherine charisma denise fernanda \ - heidi jenna julia katie madison melanie natalie.py neve \ + heidi jenna julia katie madison melanie natalie neve \ rene rhona shania tea ziyi debian/tmp/usr/bin/ # Compatability symlinks for people using old debs @@ -43,12 +45,12 @@ binary-indep: checkroot build ln -s neve debian/tmp/usr/bin/da_populate ln -s rhona debian/tmp/usr/bin/da_clean ln -s madison debian/tmp/usr/bin/da_chkver - ln -s natalie.py debian/tmp/usr/bin/da_override + ln -s natalie debian/tmp/usr/bin/da_override ln -s melanie debian/tmp/usr/bin/da_remove ln -s ziyi debian/tmp/usr/bin/da_mkrelease - install -d -m 755 debian/tmp/usr/lib/python1.5/site-packages/ - install -m 644 db_access.py utils.py claire.py logging.py debian/tmp/usr/lib/python1.5/site-packages/ + install -d -m 755 debian/tmp/usr/lib/python$(PYTHONVER)/site-packages/ + install -m 644 db_access.py utils.py claire.py logging.py debian/tmp/usr/lib/python$(PYTHONVER)/site-packages/ install -d -m 755 debian/tmp/usr/share/man/man1/ install -m 644 docs/*.1 debian/tmp/usr/share/man/man1/ gzip -9v debian/tmp/usr/share/man/man1/* @@ -70,6 +72,7 @@ binary-indep: checkroot build gzip -9v debian/tmp/usr/share/doc/katie/examples/* dpkg-shlibdeps sql-aptvc.so + /usr/bin/python debian/python-dep >> debian/substvars dpkg-gencontrol -isp chown -R root.root debian/tmp chmod -R go=rX debian/tmp