2 # debian/rules file - for Katie (0.0)
3 # Based on sample debian/rules file - for GNU Hello (1.3).
4 # Copyright 1994,1995 by Ian Jackson.
5 # Copyright 1998,1999,2000,2001 James Troup
6 # I hereby give you perpetual unlimited permission to copy,
7 # modify and relicense this file, provided that you do not remove
8 # my name from the file itself. (I assert my moral right of
9 # paternity under the Copyright, Designs and Patents Act 1988.)
10 # This file may have to be extensively modified
20 -rm -rf debian/tmp debian/*~ debian/files* debian/substvars build-stamp
23 binary-indep: checkroot build
27 install -d debian/tmp/DEBIAN/
28 install -m 755 debian/prerm debian/postinst debian/tmp/DEBIAN/
30 install -d debian/tmp/usr/bin/
32 install -m 755 andrea catherine charisma denise fernanda \
33 heidi jenna julia katie madison melanie natalie.py neve \
34 rene rhona shania tea ziyi debian/tmp/usr/bin/
36 # Compatability symlinks for people using old debs
37 ln -s katie debian/tmp/usr/bin/da_install
38 ln -s katie debian/tmp/usr/bin/dinstall
39 ln -s jenna debian/tmp/usr/bin/da_mkfilelist
40 ln -s heidi debian/tmp/usr/bin/da_tags
41 ln -s catherine debian/tmp/usr/bin/da_poolize
42 ln -s charisma debian/tmp/usr/bin/da_mkmaintainers
43 ln -s neve debian/tmp/usr/bin/da_populate
44 ln -s rhona debian/tmp/usr/bin/da_clean
45 ln -s madison debian/tmp/usr/bin/da_chkver
46 ln -s natalie.py debian/tmp/usr/bin/da_override
47 ln -s melanie debian/tmp/usr/bin/da_remove
48 ln -s ziyi debian/tmp/usr/bin/da_mkrelease
50 install -d -m 755 debian/tmp/usr/lib/python1.5/site-packages/
51 install -m 644 db_access.py utils.py claire.py logging.py debian/tmp/usr/lib/python1.5/site-packages/
52 install -d -m 755 debian/tmp/usr/share/man/man1/
53 install -m 644 docs/*.1 debian/tmp/usr/share/man/man1/
54 gzip -9v debian/tmp/usr/share/man/man1/*
56 install -d -m 755 debian/tmp/etc/katie/
58 install -d debian/tmp/usr/share/doc/katie/
59 install -m 644 debian/changelog debian/tmp/usr/share/doc/katie/changelog.Debian
60 install -m 644 README NEWS THANKS TODO debian/tmp/usr/share/doc/katie/
61 install -m 644 docs/README* debian/tmp/usr/share/doc/katie/
62 install -m 644 ChangeLog debian/tmp/usr/share/doc/katie/changelog
63 gzip -9v debian/tmp/usr/share/doc/katie/*
64 install -m 644 debian/copyright debian/tmp/usr/share/doc/katie/
66 install -d debian/tmp/usr/share/doc/katie/examples/
67 install -m 644 examples/katie.conf debian/tmp/usr/share/doc/katie/examples/
68 # Hoho (err, rather: FIXME)
69 install -m 644 *.sql debian/tmp/usr/share/doc/katie/examples/
70 gzip -9v debian/tmp/usr/share/doc/katie/examples/*
72 dpkg-shlibdeps sql-aptvc.so
74 chown -R root.root debian/tmp
75 chmod -R go=rX debian/tmp
76 dpkg --build debian/tmp ..
81 test -f katie -a -f debian/rules
84 # Below here is fairly generic really
86 binary: binary-indep binary-arch
90 test root = "`whoami`"
92 .PHONY: binary binary-arch binary-indep clean checkroot