diff --git a/src/backend/Makefile b/src/backend/Makefile index 89fca4943a..119f7aff89 100644 --- a/src/backend/Makefile +++ b/src/backend/Makefile @@ -311,7 +311,6 @@ maintainer-clean: distclean catalog/postgres.description \ catalog/postgres.shdescription \ replication/repl_gram.c \ - replication/repl_gram.h \ replication/repl_scanner.c \ utils/fmgroids.h \ utils/fmgrtab.c \ diff --git a/src/backend/replication/.gitignore b/src/backend/replication/.gitignore index a0332b230d..2a0491d149 100644 --- a/src/backend/replication/.gitignore +++ b/src/backend/replication/.gitignore @@ -1,3 +1,2 @@ /repl_gram.c -/repl_gram.h /repl_scanner.c diff --git a/src/backend/replication/Makefile b/src/backend/replication/Makefile index 9d9ec87c9a..1f93ac1e5d 100644 --- a/src/backend/replication/Makefile +++ b/src/backend/replication/Makefile @@ -22,11 +22,9 @@ include $(top_srcdir)/src/backend/common.mk # repl_scanner is compiled as part of repl_gram repl_gram.o: repl_scanner.c -# See notes in src/backend/parser/Makefile about the following two rules - repl_gram.c: repl_gram.y ifdef BISON - $(BISON) -d $(BISONFLAGS) -o $@ $< + $(BISON) $(BISONFLAGS) -o $@ $< else @$(missing) bison $< $@ endif