Re: Minor fix in 'clean' action of 'src/backend/Makefile'

Heikki Linnakangas <hlinnakangas@vmware.com>

From: Heikki Linnakangas <hlinnakangas@vmware.com>
To: fabriziomello@gmail.com
Cc: Pgsql Hackers <pgsql-hackers@postgresql.org>
Date: 2013-01-02T16:20:21Z
Lists: pgsql-hackers
On 02.01.2013 18:05, Fabrízio de Royes Mello wrote:
> Hi all,
>
> When we execute 'make clean' the file 'src/backend/replication/repl_gram.h'
>   is not removed.

That's on purpose. repl_gram.h is generated by bison, along with 
repl_gram.c. Neither is removed by "make clean", because they're needed 
in a distribution tarball. "make maintainer-clean" does remove them.

Hmm, looking closer though, repl_gram.h is not actually needed for 
anything, though. We could just remove the -d flag from the bison 
invocation and not build it to begin with. I'll go and do that..

- Heikki