]> granicus.if.org Git - postgis/commitdiff
Build doc images as part of distribution build.
authorPaul Ramsey <pramsey@cleverelephant.ca>
Thu, 2 Jul 2009 16:31:51 +0000 (16:31 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Thu, 2 Jul 2009 16:31:51 +0000 (16:31 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@4250 b70326c6-7e19-0410-871a-916f4a2858ee

HOWTO_RELEASE
make_dist.sh

index b0cbfdf5f231b1e5e0f9d1964534d350941bedd5..5d8c775ba1b899e35841e7aed46bf52063550f7b 100644 (file)
@@ -21,12 +21,17 @@ to work or rather *HIGHLY RECOMMENDED* to get new functionalities.
 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
 -----------------
index 564b3befb0f7d87e81ebdd65db31830231d78151..e1d226444c5af8b44baa6f83d11ef8190a0998ca 100644 (file)
@@ -49,6 +49,18 @@ owd="$PWD"
 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
@@ -63,16 +75,6 @@ fi
 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"