diff --git a/src/backend/Makefile b/src/backend/Makefile
index 323b417..a2d5f8d 100644
--- a/src/backend/Makefile
+++ b/src/backend/Makefile
@@ -291,7 +291,9 @@ clean:
 		$(top_builddir)/src/include/parser/gram.h \
 		$(top_builddir)/src/include/catalog/schemapg.h \
 		$(top_builddir)/src/include/utils/fmgroids.h \
-		$(top_builddir)/src/include/utils/probes.h
+		$(top_builddir)/src/include/utils/probes.h \
+        $(top_builddir)/src/backend/replication/repl_gram.h
+
 ifeq ($(PORTNAME), cygwin)
 	rm -f postgres.dll postgres.def libpostgres.a
 endif
