9b0f44f733
reasons are to do with fact that our k-9 build has a different package name and any extensions we have published thus far only work with the developer build. To help people using both packages we fork the package name for the dashclock k9 app and remove the less fully featured one, for simplicity.
37 lines
1.1 KiB
Diff
37 lines
1.1 KiB
Diff
diff --git a/ant.properties b/ant.properties
|
|
new file mode 100644
|
|
index 0000000..19d5431
|
|
--- /dev/null
|
|
+++ b/ant.properties
|
|
@@ -0,0 +1 @@
|
|
+android.jar=/home/gerry/android-sdk-linux/platforms/android-17/android.jar
|
|
diff --git a/build.xml b/build.xml
|
|
index 820fcd0..278fd07 100644
|
|
--- a/build.xml
|
|
+++ b/build.xml
|
|
@@ -88,5 +88,23 @@
|
|
-->
|
|
<!-- version-tag: 1 -->
|
|
<import file="${sdk.dir}/tools/ant/build.xml" />
|
|
-
|
|
+ <target name="-package-resources" depends="-crunch">
|
|
+ <do-only-if-not-library elseText="Library project: do not package resources..." >
|
|
+ <exec executable="${aapt}" failonerror="true">
|
|
+ <arg value="package" />
|
|
+ <arg value="-f" />
|
|
+ <arg value="-M" />
|
|
+ <arg path="AndroidManifest.xml" />
|
|
+ <arg value="-F" />
|
|
+ <arg path="${out.absolute.dir}/${resource.package.file.name}" />
|
|
+ <arg value="-I" />
|
|
+ <arg path="${android.jar}" />
|
|
+ <arg value="-S" />
|
|
+ <arg path="${resource.absolute.dir}" />
|
|
+ <arg value="--auto-add-overlay" />
|
|
+ <arg value="--rename-manifest-package" />
|
|
+ <arg value="org.fdroid.dashclock.k9" />
|
|
+ </exec>
|
|
+ </do-only-if-not-library>
|
|
+ </target>
|
|
</project>
|