1
# **********************************************************************
4
# * PostGIS - Spatial Types for PostgreSQL
5
# * http://postgis.refractions.net
6
# * Copyright 2010 Mark Cave-Ayland
8
# * This is free software; you can redistribute and/or modify it under
9
# * the terms of the GNU General Public Licence. See the COPYING file.
11
# **********************************************************************
13
# Separate PGXS-enabled Makefile for documentation installation (it is
14
# not possible to merge into the main Makefile as has been done for
15
# the shapefile loader)
17
MODULE_doc=postgis-1.5
18
MODULEDIR=contrib/$(MODULE_doc)
20
# Files to be copied to the contrib/ directory
21
DATA_built=postgis_comments.sql
24
PG_CONFIG = /usr/local/pgsql/8.3/bin/pg_config
25
PGXS := /usr/local/pgsql/8.3/lib/pgxs/src/makefiles/pgxs.mk
28
# PGXS override feature. The ability to allow PostGIS to install itself
29
# in a versioned directory is only available in PostgreSQL >= 8.5. To
30
# do this by default on older PostgreSQL versions, we need to override
31
# the existing PGXS targets.
33
# Once PostgreSQL 8.5 becomes the minimum supported version, this entire
34
# section and its associated Makefile.pgxs should be removed.
36
ifeq ($(PGXSOVERRIDE),1)
37
include ../postgis/Makefile.pgxs