Re: [Nolug] Mimedefang and ClamAV

From: -ray <ray_at_ops.selu.edu>
Date: Thu, 7 Aug 2003 17:59:45 -0500 (CDT)
Message-ID: <Pine.LNX.4.44.0308071753190.709-100000@romulus.csd.selu.edu>

> > BTW, what is the 'make distclean' option? I realized that it had
> > something to do with cleaning out old object files or something, but I
> > could not find it for the life of me in man of make. I thought there
> > was some sort of 'make clean', but where can I find the man pages on
> > 'clean' or 'distclean'?
>
> You need a better understanding of "make" and automake.
>
> make targets are given in the Makefile. If a target isn't listed in
> the Makefile, it doesn't exist. Likewise, you can add targets to the
> Makefile and get new options. make just takes care of dependencies
> based on the Makefile. It doesn't say what targets a program must
> support. By default, it executes the first target (usually "all").

Look in the Makefile for distclean. You'll see it removes some files
created by configure, and some man pages. Right above that, the 'clean'
target is what actually deletes the object files.

What happened was configure looked in your config.cache and saw that it
looked for ClamAV last time, didn't find it, so didn't bother looking
again. Whenever i recompile something like that, i first look at the top
of config.status to see what configure options i used to compile last
time, the do a 'rm config.*'. In this case, the distclean did the same
thing. Or to be extra safe, you could just delete the entire dir and
untar the source again.

ray
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Ray DeJean http://www.r-a-y.org
Systems Engineer Southeastern Louisiana University
IBM Certified Specialist AIX Administration, AIX Support
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

___________________
Nolug mailing list
nolug@nolug.org
Received on 08/07/03

This archive was generated by hypermail 2.2.0 : 12/19/08 EST