From: Robert Haas Date: Fri, 4 Feb 2011 05:07:08 +0000 (-0500) Subject: Unbreak the VPATH build. X-Git-Tag: REL9_1_ALPHA4~275 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dde9684d65ed66656f765d3fd97f2e522a189132;p=postgresql Unbreak the VPATH build. My commit ddfe26f6441c24660595c5efe5fd0bd3974cdc5c of 2010-02-03 broke it. Per buildfarm. --- 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