aboutsummaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
authorDamian Minkov <damencho@jitsi.org>2014-03-12 11:16:32 +0200
committerDamian Minkov <damencho@jitsi.org>2014-03-12 17:31:15 +0200
commit797781994ed1af1455e34dcf7c2c883deb04e30a (patch)
tree8465a61b49f796f0f0d74d23663ccc80f092d1a7 /resources
parentff3ac00880717d6cfd68a09804a07ca7b31997e8 (diff)
downloadjitsi-797781994ed1af1455e34dcf7c2c883deb04e30a.zip
jitsi-797781994ed1af1455e34dcf7c2c883deb04e30a.tar.gz
jitsi-797781994ed1af1455e34dcf7c2c883deb04e30a.tar.bz2
Adds targets to be able generating only sparkle files for an already build dmg.
Diffstat (limited to 'resources')
-rw-r--r--resources/install/build.xml25
1 files changed, 24 insertions, 1 deletions
diff --git a/resources/install/build.xml b/resources/install/build.xml
index 573f798..2516d53 100644
--- a/resources/install/build.xml
+++ b/resources/install/build.xml
@@ -1544,7 +1544,29 @@
</target>
- <target name="macosx-sparkle-files" if="sparkle.signiture.location">
+ <!-- a set of targets to load the properties needed to execute
+ just macosx-sparkle-files and macosx-sparkle-files-finish to
+ re-generate files if we accidentally delete them :)
+ -->
+ <target name="macosx-sparkle-params"
+ depends="version-params,load-props-params">
+ <property name="macosx.dmg.name"
+ value="${package.name}-${sip-communicator.version}.dmg"/>
+ </target>
+ <target name="version-params"
+ unless="sip-communicator.version">
+ <ant target="version"/>
+ </target>
+ <target name="load-props-params"
+ unless="sparkle.signiture.location">
+
+ <ant target="load-properties"/>
+ </target>
+ <!-- -->
+
+ <target name="macosx-sparkle-files"
+ depends="macosx-sparkle-params"
+ if="sparkle.signiture.location">
<exec executable="bash" os="Mac OS X" failonerror="true"
outputproperty="signature.base64">
@@ -1610,6 +1632,7 @@
<!-- task only finishes generating sparkle files if needed -->
<target name="macosx-sparkle-files-finish"
+ depends="macosx-sparkle-params"
if="sparkle.signiture.location">
<!-- To be able to insert deltas in the updates xml
we use the token @SPARKLE_DELTAS@. And when finished