$NetBSD: patch-ad,v 1.13 2003/04/03 18:06:13 toshii Exp $ --- src/Makefile.global.in.orig Thu Sep 5 07:54:18 2002 +++ src/Makefile.global.in @@ -111,6 +111,13 @@ endif endif +htmldir := @htmldir@ +ifeq "$(findstring pgsql, $(htmldir))" "" +ifeq "$(findstring postgres, $(htmldir))" "" +override htmldir := $(docdir)/postgresql +endif +endif + javadir := $(DESTDIR)$(datadir)/java localedir := @localedir@ @@ -124,6 +131,7 @@ with_java = @with_java@ with_perl = @with_perl@ with_python = @with_python@ +with_python_compile = @with_python_compile@ with_tcl = @with_tcl@ with_tk = @with_tk@ enable_shared = @enable_shared@ @@ -285,13 +293,20 @@ libpq_builddir = $(top_builddir)/src/interfaces/libpq libpq = -L$(libpq_builddir) -lpq +libpgtcl_srcdir = $(top_srcdir)/src/interfaces/libpgtcl +libpgtcl_builddir = $(top_builddir)/src/interfaces/libpgtcl +libpgtcl = -L$(libpgtcl_builddir) -lpgtcl + submake-libpq: $(MAKE) -C $(libpq_builddir) all submake-libpgport: $(MAKE) -C $(top_builddir)/src/port all -.PHONY: submake-libpq submake-libpgport +submake-libpgtcl: + $(MAKE) -C $(libpgtcl_builddir) all + +.PHONY: submake-libpq submake-libpgport submake-libpgtcl ##########################################################################