dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #16988
[Branch ~dhis2-documenters/dhis2/dhis2-docbook-docs] Rev 502: Portuguese Translation to documentation
------------------------------------------------------------
revno: 502
committer: ezbarretos
branch nick: dhis2-docbook-docs
timestamp: Tue 2012-04-17 14:05:54 +0200
message:
Portuguese Translation to documentation
added:
pt-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
=== added file 'pt-pom.xml'
--- pt-pom.xml 1970-01-01 00:00:00 +0000
+++ pt-pom.xml 2012-04-17 12:05:54 +0000
@@ -0,0 +1,147 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.hisp.dhis</groupId>
+ <artifactId>dhis-documentation-docbook</artifactId>
+ <name>DHIS 2 Documentation</name>
+ <version>2.7-SNAPSHOT</version>
+ <description>DHIS 2 Documentation</description>
+ <packaging>pom</packaging>
+
+ <properties>
+ <docbook.source>${project.basedir}/src/docbkx</docbook.source>
+ <docbook.target>${project.basedir}/target/site</docbook.target>
+ </properties>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>com.agilejava.docbkx</groupId>
+ <artifactId>docbkx-maven-plugin</artifactId>
+ <version>2.0.11</version>
+ <configuration>
+ <xincludeSupported>true</xincludeSupported>
+ </configuration>
+ <executions>
+ <execution>
+ <id>chunked-html-docs-pt</id>
+ <phase>package</phase>
+ <goals>
+ <goal>generate-html</goal>
+ </goals>
+ <configuration>
+ <htmlStylesheet>resources/css/docbook_bsd.css</htmlStylesheet>
+ <glossaryCollection>resources/glossary_pt.xml</glossaryCollection>
+ <sectionAutolabel>1</sectionAutolabel>
+ <sectionLabelIncludesComponentLabel>1</sectionLabelIncludesComponentLabel>
+ <chunkedOutput>true</chunkedOutput>
+ <includes>dhis2_user_manual_pt.xml</includes>
+ <sourceDirectory>${docbook.source}/pt/</sourceDirectory>
+ <postProcess>
+ <copy todir="${docbook.target}/pt/">
+ <fileset dir="target/docbkx/">
+ <include name="**/*.html"/>
+ </fileset>
+ </copy>
+ <copy todir="${docbook.target}/pt/html/resources/images">
+ <fileset dir="src/docbkx/pt/resources/images">
+ <include name="**/*.png"/>
+ <include name="**/*.gif"/>
+ <include name="**/*.jpg"/>
+ </fileset>
+ </copy>
+ <copy todir="${docbook.target}/pt/html/resources/css">
+ <fileset dir="src/docbkx/pt/resources/css">
+ <include name="**/*.css"/>
+ </fileset>
+ </copy>
+ <delete file="target/docbkx/html/dhis2_user_manual_pt.html"/>
+ </postProcess>
+ </configuration>
+ </execution>
+ <execution>
+ <id>html-docs-pt</id>
+ <phase>package</phase>
+ <goals>
+ <goal>generate-html</goal>
+ </goals>
+ <configuration>
+ <htmlStylesheet>resources/css/docbook_bsd.css</htmlStylesheet>
+ <glossaryCollection>resources/glossary_pt.xml</glossaryCollection>
+ <sectionAutolabel>1</sectionAutolabel>
+ <sectionLabelIncludesComponentLabel>1</sectionLabelIncludesComponentLabel>
+ <chunkedOutput>false</chunkedOutput>
+ <includes>dhis2_user_manual_pt.xml</includes>
+ <sourceDirectory>${docbook.source}/pt/</sourceDirectory>
+ <postProcess>
+ <move file="target/docbkx/html/dhis2_user_manual_pt.html" tofile="target/docbkx/html/dhis2_user_manual_full.html"/>
+ <copy todir="${docbook.target}/pt/">
+ <fileset dir="target/docbkx/">
+ <include name="**/dhis2_user_manual_full.html"/>
+ </fileset>
+ </copy>
+ </postProcess>
+ </configuration>
+ </execution>
+ <execution>
+ <id>pdf-docs-pt</id>
+ <phase>package</phase>
+ <goals>
+ <goal>generate-pdf</goal>
+ </goals>
+ <configuration>
+ <bodyFontFamily>DejaVu Sans</bodyFontFamily>
+ <fonts>
+ <font>
+ <name>DejaVu Sans</name>
+ <style>normal</style>
+ <weight>normal</weight>
+ <embedFile>${project.basedir}/src/fonts/DejaVuSans.ttf</embedFile>
+ <metricsFile>${project.basedir}/target/fonts/DejaVuSans-metrics.xml</metricsFile>
+ </font>
+ </fonts>
+ <argLine>-Xmx1024m</argLine>
+ <foCustomization>${docbook.source}/pt/resources/xsl/fop-cust.xsl</foCustomization>
+ <doubleSided>1</doubleSided>
+ <includes>*.xml</includes>
+ <sourceDirectory>${docbook.source}/pt/</sourceDirectory>
+ <postProcess>
+ <copy todir="target/site/pt">
+ <fileset dir="target/docbkx/">
+ <include name="**/*.pdf"/>
+ </fileset>
+ </copy>
+ </postProcess>
+ </configuration>
+ </execution>
+ </executions>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.docbook</groupId>
+ <artifactId>docbook-xml</artifactId>
+ <version>4.4</version>
+ <scope>runtime</scope>
+ </dependency>
+ </dependencies>
+ </plugin>
+
+ <plugin>
+ <groupId>com.agilejava.docbkx</groupId>
+ <artifactId>docbkx-fop-support</artifactId>
+ <executions>
+ <execution>
+ <phase>generate-resources</phase>
+ <goals>
+ <goal>generate</goal>
+ </goals>
+ <configuration>
+ <ansi>false</ansi>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
+ </plugins>
+ </build>
+</project>