Unbreak the VPATH build.

My commit ddfe26f644 of 2010-02-03 broke it.

Per buildfarm.
This commit is contained in:
Robert Haas 2011-02-04 00:07:08 -05:00
parent b8a0467e10
commit dde9684d65
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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