Re: make distclean and make dep??

Bill Davidsen (davidsen@tmr.com)
Wed, 13 Nov 2002 18:09:02 -0500 (EST)


On Wed, 13 Nov 2002, Sam Ravnborg wrote:

> On Wed, Nov 13, 2002 at 02:32:27PM -0500, Bill Davidsen wrote:
> > When I do a "make distclean" in a tree, should not that roll it back to a
> > clean empty tree? I noticed that when I did that no work was done by "make
> > dep" in the rebuild.
> With the recent module related changes CONFIG_MODVERSIONS has disappeared.
> Therefore make dep became a noop.
>
> > Distclean is supposed to be even cleaner than mrproper (to build a clean
> > tree for distribution) and this behaviour is new.
> distclean and mrproper has been merged as of 2.44 IIRC.
> So mrproper and distclean behave in the same way.

So neither of them actually cleans the source tree to release a
distribution anymore? The difference between them was useful, distclean
got rid of version headers and some other assorted cruft you don't want in
a distribution.

> > Also noted, somewhere between 2.5.45 and 2.5.46 distclean vanished from
> > "make help." It's really useful to have distclean work to build patched
> > kernels for distribution, hopefully this is an oversight and not a new
> > policy.
> Since they are equal I removed the help for the less used version.

Thanks for the explanation, but I wonder if it was really worth having
people write their own clean scripts to avoid maintaining a few lines of
Makefile which haven't changed in ages.

-- 
bill davidsen <davidsen@tmr.com>
  CTO, TMR Associates, Inc
Doing interesting things with little computers since 1979.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/