From dde9684d65ed66656f765d3fd97f2e522a189132 Mon Sep 17 00:00:00 2001 From: Robert Haas Date: Fri, 4 Feb 2011 00:07:08 -0500 Subject: [PATCH] Unbreak the VPATH build. My commit ddfe26f6441c24660595c5efe5fd0bd3974cdc5c of 2010-02-03 broke it. Per buildfarm. --- src/backend/utils/Makefile | 2 +- src/pl/plpgsql/src/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/utils/Makefile b/src/backend/utils/Makefile index fcd8138f3e..c855042100 100644 --- a/src/backend/utils/Makefile +++ b/src/backend/utils/Makefile @@ -27,7 +27,7 @@ fmgrtab.c: Gen_fmgrtab.pl $(catalogdir)/Catalog.pm $(top_srcdir)/src/include/cat $(PERL) -I $(catalogdir) $< $(top_srcdir)/src/include/catalog/pg_proc.h errcodes.h: $(top_srcdir)/src/backend/utils/errcodes.txt generate-errcodes.pl - $(PERL) generate-errcodes.pl $< > $@ + $(PERL) $(srcdir)/generate-errcodes.pl $< > $@ ifneq ($(enable_dtrace), yes) probes.h: Gen_dummy_probes.sed diff --git a/src/pl/plpgsql/src/Makefile b/src/pl/plpgsql/src/Makefile index 2abe63b3ad..a5f161dc62 100644 --- a/src/pl/plpgsql/src/Makefile +++ b/src/pl/plpgsql/src/Makefile @@ -48,7 +48,7 @@ endif # generate plerrcodes.h from src/backend/utils/errcodes.txt plerrcodes.h: $(top_srcdir)/src/backend/utils/errcodes.txt generate-plerrcodes.pl - $(PERL) generate-plerrcodes.pl $< > $@ + $(PERL) $(srcdir)/generate-plerrcodes.pl $< > $@ distprep: pl_gram.h pl_gram.c plerrcodes.h