On Wed, 29 Dec 2010, Lars Wirzenius wrote: > On ke, 2010-12-29 at 14:06 +0100, Raphael Hertzog wrote: > > Hi, > > > > On Wed, 29 Dec 2010, Lars Wirzenius wrote: > > > The dpkg-source manpage says: > > > > > > --before-build directory > > > This command should be called before any build of the > > > package > > > > > > What is the "directory" argument to the option? Should it be "command" > > > instead? > > > > No, it's really "directory". It's the same "directory" parameter that > > -b gets (i.e. the unpacked source tree). > > Then I must admit utter confusion about this. What is the command that > gets called?
"dpkg-source --before-build foo" is the command. You (can) call it. And it does whatever the source format decided to do in this hook. In practice, those commands are called by dpkg-buildpackage and it's their main purpose. Prepare the source tree for the build. Clean up afterwards. In a source-format specific way. Cheers, -- Raphaël Hertzog ◈ Debian Developer Follow my Debian News ▶ http://RaphaelHertzog.com (English) ▶ http://RaphaelHertzog.fr (Français) -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

