Tom Lane wrote:
> Alvaro Herrera <alvherre@commandprompt.com> writes:
> > gmake VERSION=snapshot dist
> > gmake maintainer-clean
>
> That can't be the right script --- the final "maintainer-clean" would
> wipe out all the derived files made by the dist step. Also, it's
> *definitely* not the script being used to generate HEAD-branch
> snapshots ...
Stefan already posted the correct one, but to clarify why it runs with
the same "make dist ; make maintainer-clean", what's happening is that
dist creates a tarball, so by the time maintainer-clean runs, the files
have already been packed.
The derived files are created by distprep AFAIK.
BTW most of that script is just duplicating the stuff done in distdir ...
--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.