aboutsummaryrefslogtreecommitdiffstats
path: root/netx.manifest.in
diff options
context:
space:
mode:
authorOmair Majid <[email protected]>2011-01-28 11:41:23 -0500
committerOmair Majid <[email protected]>2011-01-28 11:41:23 -0500
commitf64c8bd3c5ad5b3e12c2f767008944df7a79eea0 (patch)
treef3b78ad5684aae37ab7a34744e16396abe766c93 /netx.manifest.in
parentd16944552990c2c953fdbd5e8d11f43e31dcbb3f (diff)
Use name and version as defined in configure.ac instead of hardcoding it in Boot.java
Use PACKAGE_NAME and FULL_VERSION as defined during build time rather than hardcoding them in net.sourceforge.jnlp.runtime.Boot. Generate a manifest file at build time, and define Implementation-Title and Implementation-Version to PACKAGE_NAME and FULL_VERSION. Use these values from the manifest file when displaying project name and version, rather than hardcoding "netx" and 0.5. 2011-01-28 Omair Majid <[email protected]> * Makefile.am: Move ICEDTEA_REV, ICEDTEA_PKG to acinclude.m4. Use FULL_VERSION. (stamps/netx-dist.stamp): Depend on netx.manifest. Use this file as the jar file manifest. * acinclude.m4 (IT_SET_VERSION): New macro. Defines FULL_VERSION. * configure.ac: Add netx.manifest to AC_CONFIG_FILES. Invoke IT_SET_VERSION. * netx.manifest.in: New file. * netx/net/sourceforge/jnlp/runtime/Boot.java: Set name and version using information from the manifest file.
Diffstat (limited to 'netx.manifest.in')
-rw-r--r--netx.manifest.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/netx.manifest.in b/netx.manifest.in
new file mode 100644
index 0000000..790bcf9
--- /dev/null
+++ b/netx.manifest.in
@@ -0,0 +1,2 @@
+Implementation-Title: @PACKAGE_NAME@
+Implementation-Version: @FULL_VERSION@