← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-documenters/dhis2/dhis2-docbook-docs] Rev 436: Explicitly build documentation guide as PDF.

 

------------------------------------------------------------
revno: 436
committer: Jason P. Pickering <jason.p.pickering@xxxxxxxxx>
branch nick: dhis2-docbook-docs
timestamp: Fri 2012-01-20 07:00:43 +0200
message:
  Explicitly build documentation  guide as PDF.
modified:
  pom.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 'pom.xml'
--- pom.xml	2011-12-26 08:35:49 +0000
+++ pom.xml	2012-01-20 05:00:43 +0000
@@ -294,6 +294,25 @@
               </postProcess>
             </configuration>
           </execution>
+		  
+		    <execution>
+            <id>pdf-documentation-guide</id>
+            <phase>package</phase>
+            <goals>
+              <goal>generate-pdf</goal>
+            </goals>
+            <configuration>
+              <argLine>-Xmx1024m</argLine>
+              <foCustomization>${docbook.source}/en/resources/xsl/fop-cust.xsl</foCustomization>
+              <doubleSided>1</doubleSided>
+			  <paperType>A4</paperType>
+              <includes>dhis2_documentation_guide.xml</includes>
+              <sourceDirectory>${docbook.source}/en/</sourceDirectory>
+              <postProcess>
+                <copy file="target/docbkx/pdf/dhis2_documentation_guide.pdf" todir="${docbook.target}/en/implementer" />
+              </postProcess>
+            </configuration>
+          </execution>
         
           <execution>
             <id>rtf-docs-en-user</id>