aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rw-r--r--build/build.xml24
1 files changed, 24 insertions, 0 deletions
diff --git a/build/build.xml b/build/build.xml
index a99469b34..826ea0c9e 100644
--- a/build/build.xml
+++ b/build/build.xml
@@ -280,5 +280,29 @@
</replaceregexp>
<echo message="All trailing spaces removed." />
</target>
+
+ <target name="googlecdn">
+ <delete dir="google" />
+ <mkdir dir="google" />
+ <copy todir="google">
+ <fileset dir=".." includes="AUTHORS.txt, GPL-LICENSE.txt, MIT-LICENSE.txt, version.txt" />
+ </copy>
+ <copy todir="google/i18n">
+ <fileset dir="${dist.dir}ui/i18n" />
+ <fileset dir="${dist.dir}ui/minified/i18n" />
+ </copy>
+ <copy todir="google/themes">
+ <fileset dir="../themes" />
+ </copy>
+ <for param="file">
+ <path><fileset dir="google" includes="**/" excludes="**/*.MD5" /></path>
+ <sequential>
+ <propertyregex override="yes" property="relativepath" input="@{file}" regexp=".+?google[\\/](.+)$" replace="\1"/>
+ <propertyregex override="yes" property="relativepath" input="${relativepath}" regexp="\\" replace="/" global="true" />
+ <checksum property="sum" file="@{file}" />
+ <concat destfile="google/MANIFEST" append="yes" fixlastline="yes">${relativepath} ${sum}</concat>
+ </sequential>
+ </for>
+ </target>
</project>