From a405635c37b6b82877db829c8e1fcbb9bfc2fbe2 Mon Sep 17 00:00:00 2001 From: Paul Ramsey Date: Thu, 2 Jul 2009 16:31:51 +0000 Subject: [PATCH] Build doc images as part of distribution build. git-svn-id: http://svn.osgeo.org/postgis/trunk@4250 b70326c6-7e19-0410-871a-916f4a2858ee --- HOWTO_RELEASE | 17 +++++++++++------ make_dist.sh | 22 ++++++++++++---------- 2 files changed, 23 insertions(+), 16 deletions(-) diff --git a/HOWTO_RELEASE b/HOWTO_RELEASE index b0cbfdf5f..5d8c775ba 100644 --- a/HOWTO_RELEASE +++ b/HOWTO_RELEASE @@ -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 ----------------- diff --git a/make_dist.sh b/make_dist.sh index 564b3befb..e1d226444 100644 --- a/make_dist.sh +++ b/make_dist.sh @@ -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" -- 2.50.1