#
# Makefile for backend/catalog
#
-# $Header: /cvsroot/pgsql/src/backend/catalog/Makefile,v 1.46 2003/04/06 22:45:22 petere Exp $
+# $Header: /cvsroot/pgsql/src/backend/catalog/Makefile,v 1.47 2003/08/01 16:12:32 petere Exp $
#
#-------------------------------------------------------------------------
pg_includes := $(sort -I$(top_srcdir)/src/include -I$(top_builddir)/src/include)
-postgres.bki postgres.description: genbki.sh $(POSTGRES_BKI_SRCS) \
+# see explanation in ../parser/Makefile
+postgres.description: postgres.bki ;
+
+postgres.bki: genbki.sh $(POSTGRES_BKI_SRCS) \
$(top_srcdir)/src/include/postgres_ext.h $(top_builddir)/src/include/pg_config_manual.h
CPP='$(CPP)' AWK='$(AWK)' $(SHELL) $< $(BKIOPTS) -o postgres $(pg_includes) $(POSTGRES_BKI_SRCS) --set-version=$(VERSION)