[Pkg-postgresql-private] FYI: Faster package rebuild

Oliver Elphick olly@lfix.co.uk
Thu, 30 Oct 2003 17:50:41 +0000


On Thu, 2003-10-30 at 16:27, Martin Pitt wrote:
> Hi!
> 
> I just made a slight modification to debian/rules to allow a faster
> package build. A complete build last over half an hour on my machine.
> But most of the time I'm dealing with packaging issues, it is not
> necessary to recompile the whole source tree.
> 
> Thus I've made a script that just rebuilds the packages.
...
> 
> Since rules contains quite a bunch of commands that cannot be executed
> twice (like mv), I do not guarantee that the packages are correct in
> every detail, so a final build should be done from a cleaned source
> dir. But at least for me it speeds up development cycle drastically.

I have always used "debuild -nc" to do this -- not that I object to your
change.

Oliver