]> granicus.if.org Git - postgresql/commit
Remove unwanted "garbage cleanup" logic in Makefiles.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 8 Aug 2018 18:32:29 +0000 (14:32 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 8 Aug 2018 18:32:29 +0000 (14:32 -0400)
commit1eee8d4994fe0b93ac02c613c1e955680e3a5ce3
treed0c7fb22242a6be3e36d4eb5cf74c3b7b5beae36
parent8e19a82640d3fa2350db146ec72916856dd02f0a
Remove unwanted "garbage cleanup" logic in Makefiles.

GNUmakefile.in defined a macro "garbage" that seems to have been meant
as a suitable target for automatic "rm -rf" treatment, but it isn't
actually used anywhere (and indeed never was, AFAICT).

Moreover, we have concluded that the Makefiles shouldn't take it upon
themselves to remove files that aren't expected by-products of building,
so that doing anything like that would be against project policy anyway.
Hence, just remove the macro.

Grepping around finds another violation of that policy in ecpg/preproc,
so clean that up too.

Daniel Gustafsson (ecpg change by me)

Discussion: https://postgr.es/m/AFBEF63E-E19D-4EBB-9F08-4617CDC751ED@yesql.se
GNUmakefile.in
src/interfaces/ecpg/preproc/Makefile