[Distutils] How to build Debian packages (answer)

Bastian Kleineidam calvin@cs.uni-sb.de
Wed, 26 Apr 2000 13:40:41 +0200 (CEST)

  >Umm, I don't get it.  How does this generate a Debian package?
  >(Ie. what command spits out a .deb file that Joe Luser can download and
  >install trivially?)
  That would be "debian/rules binary". The rules script calls 
  $(MAKE) install DESTDIR=`pwd`/debian/tmp
  and expects that this call installs everything in debian/tmp.
  Output of the rules script is a .deb package in the parent directory.
  You install .deb packages with "dpkg --install blubb_0.1.0_i386.deb".
  You deinstall packages with "dpkg --remove blubb".
  You purge packages with "dpkg --purge blubb".
  Purging additionally removes any config files of the package while
  --remove leaves them so you do not have to reconfigure if you install
  the package again.

Bastian Kleineidam -- Isch hab noch viel krasseres System...    .~.
http://fsinfo.cs.uni-sb.de/~calvin/official/                    /V\
                                                               // \\
                                                              /(   )\