On Wed, Nov 23, 2005 at 08:26:06AM +0100, Sven Luther wrote: > On Tue, Nov 22, 2005 at 09:16:22PM -0500, Eric Cooper wrote: > > On Tue, Nov 22, 2005 at 11:53:59PM +0100, Thomas Petazzoni wrote: > > > However, I'm not able to compile my packages anymore using > > > svn-buildpackage, because it does a "svn export" and then builds from > > > there. And because debian/control is not in the repository, it doesn't > > > find it. I've pasted the output at > > > http://thomas.enix.org/pub/debug/svn-buildpkg. > > > > > > How do you compile your packages ? > > > > I had the same question. Both debian/control.in and debian/control > > should be committed to the repository, by running > > ./debian/rules debian/control > > yourself and then checking in the result. It should > > *not* be done automatically as part of building the package. > > Well, no, this is not the right thing to do, debian/control should not be in > the repo, as it is a generated file. I guess the right thing to do would be to > fix svn-buildpackage to know how to generate the debian/control file, or do it > in steps, which i believe is possibly with svn-buildpackage. > > Notice that this will play hell with cdbs based packages, which cannot use the > standard debian/control target for pure brokeness. > > Stefano, you use both svn-buildpackage and the ocamlinit target, how do you > handle this ?
Ok, i have done some looking in the svn-buildpackage manpage and you can easily do : svn-buildpackage --svn-prebuild="debian/rules debian/control" ... I wonder if this line can also be added as prebuild hook in some random file, i suppose you can add it to .svn/svn-buildpackage.conf, not sure about debian/svn-layout though. The syntax would be : svn-prebuild="debian/rules debian/control" Stefano, i think you have the most experience with the svn-buildpackage magic, would you care to comment ? Friendly, Sven Luther -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

