pgsql: Remove unwanted "garbage cleanup" logic in Makefiles. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Remove unwanted "garbage cleanup" logic in Makefiles.
Date
Msg-id E1fnTG6-0008JZ-7L@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1eee8d4994fe0b93ac02c613c1e955680e3a5ce3

Modified Files
--------------
GNUmakefile.in                       | 1 -
src/interfaces/ecpg/preproc/Makefile | 2 --
2 files changed, 3 deletions(-)


pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: pgsql: Don't run atexit callbacks in quickdie signal handlers.
Next
From: Peter Geoghegan
Date:
Subject: pgsql: Doc: Correct description of amcheck example query.