Re: Remove distprep
Alvaro Herrera <alvherre@alvh.no-ip.org>
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: Peter Eisentraut <peter@eisentraut.org>
Cc: Andres Freund <andres@anarazel.de>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2023-07-14T08:24:43Z
Lists: pgsql-hackers
On 2023-Jul-14, Peter Eisentraut wrote: > diff --git a/src/backend/parser/Makefile b/src/backend/parser/Makefile > index 9f1c4022bb..3d33b082f2 100644 > --- a/src/backend/parser/Makefile > +++ b/src/backend/parser/Makefile > @@ -64,8 +64,8 @@ scan.c: FLEX_FIX_WARNING=yes > # Force these dependencies to be known even without dependency info built: > gram.o scan.o parser.o: gram.h > > - > -# gram.c, gram.h, and scan.c are in the distribution tarball, so they > -# are not cleaned here. > -clean distclean maintainer-clean: > +clean: > + rm -f parser/gram.c \ > + parser/gram.h \ > + parser/scan.c > rm -f lex.backup Hmm, this hunk and the equivalents in src/backend/bootstrap and src/backend/replication are wrong: you moved the rule from the parent directory's makefile to the directory where the files reside, but didn't remove the directory name from the command arguments, so the files aren't actually deleted. -- Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/ "El destino baraja y nosotros jugamos" (A. Schopenhauer)
Commits
-
Fix make build on MinGW
- 58445651dbc6 17.0 landed
-
Stop generating plain-text INSTALL instructions.
- e2b73f4a4de6 17.0 landed
-
Remove distprep
- 721856ff24b3 17.0 landed