Re: gmake clean, not clean enough?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alfred Perlstein <bright(at)wintelcom(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: gmake clean, not clean enough?
Date: 2000-05-25 04:23:34
Message-ID: 21045.959228614@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Alfred Perlstein <bright(at)wintelcom(dot)net> writes:
> doing a "gmake cleandist" then repeating the steps above fixed it.

> I'm not a big autoconf user (in fact i'm pretty clueless about it :) )
> but shouldn't the 'clean' target be safe?

'make clean' basically removes all the files generated later than
the configure run. 'make distclean' removes configure's outputs
as well.

When your cvs update has pulled in a new version of configure,
or of any of the *.in files that it uses, you'd better plan
on 'make distclean' --- or at least rerun configure.

Personally, I have never had a problem like this, because my unvarying
procedure is make distclean, cvs update, configure, make, make install.
The extra couple of minutes to run configure is insignificant compared
to the debugging time I could waste if I had out-of-sync files.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message harshavardhan 2000-05-25 04:28:15 query...urgent
Previous Message Jan Wieck 2000-05-25 04:21:10 Re: [GENERAL] Re: PostgreSQL 7.0 a success