AC_SUBST([XSLBASE])
-
dnl ===========================================================================
dnl Detect CUnit if it is installed (used for unit testing)
dnl
fi
fi
-EXTENSIONS=""
-if test $POSTGIS_PGSQL_VERSION -ge 91; then
- AC_MSG_RESULT([enabling extensions for PostgreSQL 9.1...])
- EXTENSIONS=extensions
- AC_SUBST([EXTENSIONS])
-fi
-
dnl Temporary hack until minimum PostgreSQL version is 9.0:
dnl If PostgreSQL < 9.0 is detected, trigger the inclusion of the new versioned PGXS targets
PGXSOVERRIDE=0
AC_SUBST([IGE_MAC_LIBS])
+dnl ===========================================================================
+dnl See if we have the requirements for building the extensions, namely
+dnl PostgreSQL 9.1 or better and the xlstproc tool for generating the commends
+dnl SQL file.
+dnl ===========================================================================
+
+EXTENSIONS=""
+if test $POSTGIS_PGSQL_VERSION -ge 91; then
+ if test ! "x$XSLTPROC" = "x"; then
+ AC_MSG_RESULT([enabling extensions for PostgreSQL 9.1...])
+ EXTENSIONS=extensions
+ AC_SUBST([EXTENSIONS])
+ fi
+fi
+
dnl ===========================================================================
dnl Allow the user to enable debugging with --enable-debug
$(MAKE) -C html/image_src images-clean
clean:
+ rm -f *.sql
rm -f html/*.html
rm -f postgis-${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION}.${POSTGIS_MICRO_VERSION}.pdf
$(MAKE) -C html/image_src clean
sql_bits/postgis.sql: ../../postgis/postgis.sql
sed -e 's/BEGIN;//g' -e 's/COMMIT;//g' $< > $@
+../../doc/postgis_comments.sql:
+ $(MAKE) -C ../../doc comments
+
sql_bits/postgis_comments.sql: ../../doc/postgis_comments.sql
cp $< $@
$< > $@
+../../doc/raster_comments.sql:
+ $(MAKE) -C ../../doc comments
+
sql_bits/raster_comments.sql: ../../doc/raster_comments.sql
cp $< $@
sql_bits/topology.sql: ../../topology/topology.sql
sed -e 's/BEGIN;//g' -e 's/COMMIT;//g' -e '/^CREATE SCHEMA/d;' $< > $@
+../../doc/topology_comments.sql:
+ $(MAKE) -C ../../doc comments
+
sql_bits/topology_comments.sql: ../../doc/topology_comments.sql
cp $< $@