Requirements
------------
-In order to build a release, you will need to build the documentation and
-that means having the required software:
-
-- xsltproc
-- DocBook XSL scripts
-- ImageMagick
+In order to build a release, you will need to build PostGIS and the
+documentation -- that means having the required software:
+
+* For PostGIS:
+ - PostgreSQL
+ - GEOS
+ - Proj4
+* For the docs:
+ - xsltproc
+ - DocBook XSL scripts
+ - ImageMagick
Release procedure
-----------------
cd "$outdir"
./autogen.sh
./configure
+make
+cd "$owd"
+
+# generating documentation
+echo "Generating documentation images"
+owd="$PWD"
+cd "$outdir"/doc/html/image_src
+sleep 1 # wait some time
+make images
+if [ $? -gt 0 ]; then
+ exit 1
+fi
cd "$owd"
# generating documentation
make clean # won't drop the html dir
cd "$owd"
-## generating parser
-#echo "Generating parser"
-#owd="$PWD"
-#cd "$outdir"/postgis
-#make lex.yy.c
-#if [ $? -gt 0 ]; then
-# exit 1
-#fi
-#cd "$owd"
-
# Run make distclean
echo "Running make distclean"
owd="$PWD"