Re: Incremental build?



> As my build of 2.13.4 enters its sixth hour on an old portable, the
> half-baked thought strikes me: would it be possible to set up a build so
> that only modified files get built?
> 
> I'm thinking something along the lines of the following:
> 
> $ cp -al garnome-2.13.3 garnome-2.13.4
> $ tar -xjvf garnome-2.13.4.tar.bz2
> 
> ##  make sure "gar.*" files are set up correctly 
> 
> $ cd desktop
> $ make paranoid-install

I don't know of an automatic way to do this, but sure can 'make clean'
the dirs that changed since the last release and then run the paranoid
command to build "everything". GARNOME will not build those again, that
are already.

That said, having a look at the ChangeLog for 2.13.4... It doesn't feel
worth the effort, at least this time. There are a lot of version bumps
and major changes, so building from scratch is a very good idea in this
case IMHO.


Note and spoiler: You do use GARCHIVEDIR and run 'make garchive', don't
you? Have a look the man page [1] and consider using deep-garchive. :)

...guenther


[1] http://gnome.org/projects/garnome/garnome_man.html


-- 
char *t="\10pse\0r\0dtu\0  ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}




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