You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Ryan Bloom <rb...@covalent.net> on 2001/09/01 00:02:32 UTC

Re: [PATCH] RE: make distclean doesn't

On Friday 31 August 2001 10:47, Justin Erenkrantz wrote:
> On Fri, Aug 31, 2001 at 10:38:39AM -0700, Ryan Bloom wrote:
> > On Friday 31 August 2001 10:31, Charles Randall wrote:
> > > From: Justin Erenkrantz [mailto:jerenkrantz@ebuilt.com]
> > >
> > > >FWIW, we should not remove the config.nice files or certain generated
> > > >files (exports.c seems to come to mind) under any circumstances.  We
> > > >also don't remove build.mk because it is like a Makefile (which we
> > > >don't seem to remove).
> > >
> > > Hmm. Am I the only one who assumes that "make distclean" is supposed to
> > > return the directory structure to the state of distribution?
> > >
> > > Does anyone else have thoughts on this?
> >
> > Make distclean should definately clean to a distribution state.  If it
> > doesn't, then it is broken.  Make clean should be used to clean
> > everything except the types of files mentioned above.
>
> I think the point is that there are some files that can be generated
> that shouldn't be cleaned.  We don't want to remove config.nice for
> sure and we probably don't want to remove exports.c as it never
> changes.  As gstein has pointed out, exports.c should be created by
> the roll script because it is only dependent on the .c files in the
> tree.
>
> All of that said, I am sure that there are some files that we do
> need to clean up that we aren't doing now.  -- justin

exports.c shouldn't be cleaned, correct, because it is a part of the
distribution, or at least it should be if it isn't already.  config.nice is
not a part of the distribution however, and should be removed by
make distclean.

Ryan

______________________________________________________________
Ryan Bloom				rbb@apache.org
Covalent Technologies			rbb@covalent.net
--------------------------------------------------------------

Re: [PATCH] RE: make distclean doesn't

Posted by Ryan Bloom <rb...@covalent.net>.
On Friday 31 August 2001 19:31, William A. Rowe, Jr. wrote:
> From: "Greg Stein" <gs...@lyra.org>
> Sent: Friday, August 31, 2001 9:30 PM
>
> > On Fri, Aug 31, 2001 at 03:02:32PM -0700, Ryan Bloom wrote:
> > >...
> > > exports.c shouldn't be cleaned, correct, because it is a part of the
> > > distribution, or at least it should be if it isn't already. 
> > > config.nice is not a part of the distribution however, and should be
> > > removed by make distclean.
> >
> > -1 on *any* form of clean that tosses config.nice
> >
> > That holds *my* information about how I repeatedly configure Apache. That
> > is a file that I use, and is outside of the scope of the
> > config/build/whatever processes. Its entire existence is to retain the
> > information. Cleaning it is not right.
>
> What are you talking about?  We are talking about cleaning for packaging to
> _other_ computers, not yours.  That's what rbb is speaking of by
> 'distclean', clean enough for redistribution.

Exactly.  The whole point and definition of make distclean, is that it cleans
things to the point that it could be redistributed to another machine.  If you 
are just trying to clean the directory, then make clean is what you want.  If
make clean doesn't remove enough for you, then something else is wrong.

Ryan
______________________________________________________________
Ryan Bloom				rbb@apache.org
Covalent Technologies			rbb@covalent.net
--------------------------------------------------------------

Re: [PATCH] RE: make distclean doesn't

Posted by "William A. Rowe, Jr." <wr...@rowe-clan.net>.
From: "Greg Stein" <gs...@lyra.org>
Sent: Friday, August 31, 2001 9:30 PM


> On Fri, Aug 31, 2001 at 03:02:32PM -0700, Ryan Bloom wrote:
> >...
> > exports.c shouldn't be cleaned, correct, because it is a part of the
> > distribution, or at least it should be if it isn't already.  config.nice is
> > not a part of the distribution however, and should be removed by
> > make distclean.
> 
> -1 on *any* form of clean that tosses config.nice
> 
> That holds *my* information about how I repeatedly configure Apache. That is
> a file that I use, and is outside of the scope of the config/build/whatever
> processes. Its entire existence is to retain the information. Cleaning it is
> not right.

What are you talking about?  We are talking about cleaning for packaging to
_other_ computers, not yours.  That's what rbb is speaking of by 'distclean',
clean enough for redistribution.

Bill


Re: [PATCH] RE: make distclean doesn't

Posted by Greg Stein <gs...@lyra.org>.
On Fri, Aug 31, 2001 at 03:02:32PM -0700, Ryan Bloom wrote:
>...
> exports.c shouldn't be cleaned, correct, because it is a part of the
> distribution, or at least it should be if it isn't already.  config.nice is
> not a part of the distribution however, and should be removed by
> make distclean.

-1 on *any* form of clean that tosses config.nice

That holds *my* information about how I repeatedly configure Apache. That is
a file that I use, and is outside of the scope of the config/build/whatever
processes. Its entire existence is to retain the information. Cleaning it is
not right.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/