← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-documenters/dhis2/dhis2-docbook-docs] Rev 51: Small fixes to GIS document. Made clean optional to the document builds. Execute ./build.sh with ...

 

------------------------------------------------------------
revno: 51
committer: Jason Pickering <jason@jason-laptop>
branch nick: dhis2-docbook-docs
timestamp: Tue 2009-11-24 19:36:04 +0200
message:
  Small fixes to GIS document. Made clean optional to the document builds. Execute ./build.sh with option clean.
modified:
  build.sh
  src/docbkx/en/dhis2_gis_user_manual_en.xml


--
lp:~dhis2-documenters/dhis2/dhis2-docbook-docs
https://code.launchpad.net/~dhis2-documenters/dhis2/dhis2-docbook-docs

Your team DHIS 2 developers is subscribed to branch lp:~dhis2-documenters/dhis2/dhis2-docbook-docs.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-documenters/dhis2/dhis2-docbook-docs/+edit-subscription.
=== modified file 'build.sh'
--- build.sh	2009-11-23 21:59:14 +0000
+++ build.sh	2009-11-24 17:36:04 +0000
@@ -1,5 +1,13 @@
 #!/bin/bash 
 echo "Building HTML files"
+myargs=$1
+if [ "$1" = "clean" ] 
+then
 mvn clean docbkx:generate-html
 echo "Building PDF files"
 mvn clean docbkx:generate-pdf
+else
+mvn docbkx:generate-html
+echo "Building PDF files"
+mvn docbkx:generate-pdf
+fi

=== modified file 'src/docbkx/en/dhis2_gis_user_manual_en.xml'
--- src/docbkx/en/dhis2_gis_user_manual_en.xml	2009-11-22 12:24:51 +0000
+++ src/docbkx/en/dhis2_gis_user_manual_en.xml	2009-11-24 17:36:04 +0000
@@ -60,7 +60,7 @@
       <title>Production of GeoJSON files with GDAL</title>
       <para>GDAL is a multi-platform toolkit for the manipulation of
       geographical data. It is freely available for a wide-range of platforms
-      at <ulink url="???">http://gdal.org</ulink></para>
+      at <ulink url="http://gdal.org";>http://gdal.org</ulink></para>
       <para>Production of GeoJSON files are straightforward with GDAL. Just
       execute (on Windows)</para>
       <programlisting>ogr2ogr.exe -f &quot;GeoJSON&quot; dst_datasource_name src_datasource_name</programlisting>
@@ -82,7 +82,7 @@
   <sect1 id="gis_2">
     <title>Administrator panel</title>
     <screenshot>
-      <graphic fileref="resources/images/GIS/admin_panel.png" align="center"/>
+      <graphic fileref="resources/images/GIS/admin_panel.png" align="center" />
     </screenshot>
     <para><variablelist>
         <varlistentry>
@@ -121,7 +121,7 @@
       <screeninfo>Register Geodata Panel</screeninfo>
       <mediaobject>
         <imageobject>
-          <imagedata fileref="resources/images/GIS/register_geodata.png" width="80%" align="center"/>
+          <imagedata fileref="resources/images/GIS/register_geodata.png" align="center"/>
         </imageobject>
       </mediaobject>
     </screenshot>