[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Debmake 3.0.0: Changes to Multi-Binary-Support

Conversion of a Debmake 2.X package to 3.X

This only affects multi-binary packages. If your package just generates a
single binary then you do not need to do anything.

Avoiding the Conversion
If you just want to rebuild a package that has been done using the
multi-binary support in debmake 2.X then simply change the invocation of
"debstd" in the debian/rules file to use "debstdo" instead. debstdo is the
old 2.X debstd and will generate your package as it used to. debstdo is no
longer being maintained though. At some point you need to change to the 3.X


1. The configuration files for subpackages are no longer stored in


   but are stored in a flat debian directory named


   Note that the slash has been replaced with a dot.

2. The binary trees for subpackages are no longer build in


   but are now built in


   as customarily done before debmake arrived.


1. Move all the controlfiles out of the directories debian/<package> into the
   debian directory renaming the files. Example:

   mv debian/mgetty-doc/files debian/mgetty.files

2. Remove all the directories in debian

   rm -rf `find debian/* -type d`

3. Edit the rules file

   CLEAN Target
   You need to change the "clean" target to erase all subdirectories in
   debian. You can simply paste parts of the rm statement give above into
   the rules file. Remove the code that removes the debian/*/tmp

   BINARY Target
   You need to change the cleaning done at the beginning of the binary
   target in the same way as done for the clean target.

   Then change all references to debian/<package>/tmp to refer to

Christoph Lameter, January 29, 1997

--- +++ --- +++ --- +++ --- +++ --- +++ --- +++ --- +++ ---
Please always CC me when replying to posts on mailing lists.

TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com

Reply to: