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 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
19 -rm -rf debian/tmp debian/*~ debian/files* debian/substvars build-stamp
22 binary-indep: checkroot build
26 install -d debian/tmp/DEBIAN/
27 install -m 755 debian/prerm debian/postinst debian/tmp/DEBIAN/
29 install -d debian/tmp/usr/bin/
30 install -m 755 katie debian/tmp/usr/bin/da_install
31 install -m 755 jenna debian/tmp/usr/bin/da_mkfilelist
32 install -m 755 heidi debian/tmp/usr/bin/da_tags
33 install -m 755 catherine debian/tmp/usr/bin/da_poolize
34 install -m 755 charisma debian/tmp/usr/bin/da_mkmaintainers
35 install -m 755 neve debian/tmp/usr/bin/da_populate
36 install -m 755 rhona debian/tmp/usr/bin/da_clean
37 install -m 755 madison debian/tmp/usr/bin/da_chkver
38 install -m 755 natalie.py debian/tmp/usr/bin/da_override
39 install -m 755 melanie debian/tmp/usr/bin/da_remove
41 install -d -m 755 debian/tmp/usr/lib/python1.5/site-packages/
42 install -m 644 db_access.py utils.py debian/tmp/usr/lib/python1.5/site-packages/
43 install -d -m 755 debian/tmp/usr/share/man/man1/
44 install -m 644 docs/katie.1 debian/tmp/usr/share/man/man1/da_install.1
45 install -m 644 docs/natalie.1 debian/tmp/usr/share/man/man1/da_override.1
46 install -m 644 docs/melanie.1 debian/tmp/usr/share/man/man1/da_remove.1
47 install -m 644 docs/catherine.1 debian/tmp/usr/share/man/man1/da_poolize.1
48 gzip -9v debian/tmp/usr/share/man/man1/*
50 install -d debian/tmp/usr/share/doc/katie/
51 install -m 644 debian/changelog debian/tmp/usr/share/doc/katie/changelog.Debian
52 install -m 644 README NEWS THANKS TODO debian/tmp/usr/share/doc/katie/
53 install -m 644 docs/README* debian/tmp/usr/share/doc/katie/
54 install -m 644 ChangeLog debian/tmp/usr/share/doc/katie/changelog
55 gzip -9v debian/tmp/usr/share/doc/katie/*
56 install -m 644 debian/copyright debian/tmp/usr/share/doc/katie/
58 dpkg-shlibdeps sql-aptvc.so
60 chown -R root.root debian/tmp
61 chmod -R go=rX debian/tmp
62 dpkg --build debian/tmp ..
67 test -f katie -a -f debian/rules
70 # Below here is fairly generic really
72 binary: binary-indep binary-arch
76 test root = "`whoami`"
78 .PHONY: binary binary-arch binary-indep clean checkroot