On Tuesday 24 July 2007 16:11:58 Robert Schwebel wrote:
> On Tue, Jul 24, 2007 at 02:27:03PM -0700, Darren Hart wrote:
> > On Tuesday 24 July 2007 02:25:27 Robert Schwebel wrote:
> > > Add some more things which have to be cleaned on maintainer-clean; this
> > > does also remove directories in the case that something went wrong
> > > during development, leaving the tree in a non-clean state.
> >
> > Couple questions on this one - we do have to understand it to maintain it
> > :-)
> >
> > > Signed-off-by: Robert Schwebel <[EMAIL PROTECTED]>
Acked-by: Darren Hart <[EMAIL PROTECTED]>
> > >
> > > ---
> > > GNUmakefile.am | 7 ++++++-
> > > 1 file changed, 6 insertions(+), 1 deletion(-)
> > >
> > > Index: GNUmakefile.am
> > > ===================================================================
> > > --- GNUmakefile.am.orig
> > > +++ GNUmakefile.am
> > > @@ -9,5 +9,10 @@ EXTRA_DIST = \
> > > autogen.sh
> > >
> > > MAINTAINERCLEANFILES = \
> > > - GNUmakefile.in
> > > + GNUmakefile.in \
> > > + $(DIST_ARCHIVES)
> >
> > What are these?
>
> "make dist" creates rt-tests-x.y.tar.{bz2,gz}. This entry removes them
> if you do a "make maintainer-clean" (which you wanna do before checking
> stuff into some rcs.
>
> > > +
> > > +maintainer-clean-local:
> > > + -chmod -R a+rw $(distdir)
> > > + -rm -fr $(distdir)
> >
> > And this?
>
> On "make distcheck" the autotools build the tarballs, extract them
> again, into a temporary directory called like the package, make the
> sources read only, create an out-of-tree directory, run configure there,
> build and cleanup afterwards. If everything goes right, the temporary
> directory is removed again. If something goes wrong, it remains there.
> This entry instructs "make maintainer-clean" to make the directory
> read/write again, then remove it.
>
> This is a handy shortcut which makes sure that, after make
> maintainer-clean, everything is back to the state where it can be
> checked in.
>
> Robert
--
Darren Hart
IBM Linux Technology Center
Realtime Linux Team
-
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html