Some more queries on packaging with Git

Kumar Appaiah akumar at ee.iitm.ac.in
Mon Oct 22 08:19:34 UTC 2007


On Mon, Oct 22, 2007 at 09:59:41AM +0200, martin f krafft wrote:
> *Every* Debian build tool puts or expects it in the parent
> directory, so I don't see a need to mention this.

Accepted. I was, as you mention later, speaking with something akin to
svn-buildpackage in mind.

> Before you go out and try to script this all, have a look at
> git-buildpackage or http://liw.iki.fi/liw/unperish/

Thanks for the tip. I am having a look. It seems to be quite generic
in it's approach.

> svn-buildpackages builds in build-area/packagename-0.12 which is why
> the files end up in build-area. I never understood why they do that
> instead of using the -i/-I flags properly and generate the stuff
> from the same tree.

OK. Point accepted.

> I find it a bad idea to clean automatically after a build. If there
> are problems, you may not immediately find them, if you want to
> rebuild it takes ages, and so on. Using clean when you want to
> clean, and then checking for distclean is all good, but there is no
> reason to do this all the time.
> 
> Instead, build from Git, configure .gitignore properly and
> git-status or git-ls-files will tell you what's unexpected.

Right. But isn't it necessary for us to check whether distclean does
clean it up anyway? At least manually?

Thanks.

Kumar
-- 
Kumar Appaiah,
458, Jamuna Hostel,
Indian Institute of Technology Madras,
Chennai - 600 036
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/vcs-pkg-discuss/attachments/20071022/2921802f/attachment.pgp 


More information about the vcs-pkg-discuss mailing list