DEVEL15-macos-version-generation-20071011
authorDerrick Brashear <shadow@dementia.org>
Thu, 11 Oct 2007 18:27:35 +0000 (18:27 +0000)
committerDerrick Brashear <shadow@dementia.org>
Thu, 11 Oct 2007 18:27:35 +0000 (18:27 +0000)
make release time simpler

(cherry picked from commit e1b1f4655f537427369c996b22816b0e5426da82)

13 files changed:
configure-libafs.in
configure.in
src/libafs/afs.ppc_darwin_12.plist.in
src/libafs/afs.ppc_darwin_13.plist.in
src/libafs/afs.ppc_darwin_14.plist.in
src/libafs/afs.ppc_darwin_60.plist.in
src/libafs/afs.ppc_darwin_70.plist.in
src/libafs/afs.ppc_darwin_80.plist.in
src/libafs/afs.ppc_darwin_90.plist.in
src/libafs/afs.x86_darwin_80.plist.in
src/libafs/afs.x86_darwin_90.plist.in
src/packaging/MacOS/OpenAFS.Info.plist.in [moved from src/packaging/MacOS/OpenAFS.Info.plist with 94% similarity]
src/packaging/MacOS/OpenAFS.info.in [moved from src/packaging/MacOS/OpenAFS.info with 95% similarity]

index 0cde5b0..69bc25d 100644 (file)
@@ -1,8 +1,11 @@
 AC_INIT(src/libafs/Makefile.common.in)
 AM_INIT_AUTOMAKE(openafs-libafs,1.5.25)
 AC_CONFIG_HEADER(src/config/afsconfig.h)
-define(OPENAFS_CONFIGURE_LIBAFS)
+MACOS_VERSION=1.5.25
+
+AC_SUBST(MACOS_VERSION)
 
+define(OPENAFS_CONFIGURE_LIBAFS)
 AC_PROG_CC
 OPENAFS_CONFIGURE_COMMON
 
index 999d85f..41e8423 100644 (file)
@@ -1,6 +1,9 @@
 AC_INIT(src/config/stds.h)
 AM_INIT_AUTOMAKE(openafs,1.5.25)
 AC_CONFIG_HEADER(src/config/afsconfig.h)
+MACOS_VERSION=1.5.25
+
+AC_SUBST(MACOS_VERSION)
 
 AC_PROG_CC
 OPENAFS_CONFIGURE_COMMON
@@ -79,6 +82,8 @@ src/lwp/test/Makefile \
 src/mpp/Makefile \
 src/null/Makefile \
 src/package/Makefile \
+src/packaging/MacOS/OpenAFS.Info.plist \
+src/packaging/MacOS/OpenAFS.info \
 src/packaging/RedHat/openafs.spec \
 src/pam/Makefile \
 src/pinstall/Makefile \
index 50e5e72..eb1be80 100644 (file)
        <key>CFBundlePackageType</key>
        <string>KEXT</string>
        <key>CFBundleShortVersionString</key>
-       <string>@VERSION@</string>
+       <string>@MACOS_VERSION@</string>
        <key>CFBundleSignature</key>
        <string>????</string>
        <key>CFBundleVersion</key>
-       <string>@VERSION@</string>
+       <string>@MACOS_VERSION@</string>
        <key>OSBundleLibraries</key>
        <dict>
                <key>com.apple.kernel.bsd</key>
index 50e5e72..eb1be80 100644 (file)
        <key>CFBundlePackageType</key>
        <string>KEXT</string>
        <key>CFBundleShortVersionString</key>
-       <string>@VERSION@</string>
+       <string>@MACOS_VERSION@</string>
        <key>CFBundleSignature</key>
        <string>????</string>
        <key>CFBundleVersion</key>
-       <string>@VERSION@</string>
+       <string>@MACOS_VERSION@</string>
        <key>OSBundleLibraries</key>
        <dict>
                <key>com.apple.kernel.bsd</key>
index 7e4f1bf..eafb931 100644 (file)
        <key>CFBundlePackageType</key>
        <string>KEXT</string>
        <key>CFBundleShortVersionString</key>
-       <string>@VERSION@</string>
+       <string>@MACOS_VERSION@</string>
        <key>CFBundleSignature</key>
        <string>????</string>
        <key>CFBundleVersion</key>
-       <string>@VERSION@</string>
+       <string>@MACOS_VERSION@</string>
        <key>OSBundleLibraries</key>
        <dict>
                <key>com.apple.kernel.bsd</key>
index 98ab344..46d02fd 100644 (file)
        <key>CFBundlePackageType</key>
        <string>KEXT</string>
        <key>CFBundleShortVersionString</key>
-       <string>@VERSION@</string>
+       <string>@MACOS_VERSION@</string>
        <key>CFBundleSignature</key>
        <string>????</string>
        <key>CFBundleVersion</key>
-       <string>@VERSION@</string>
+       <string>@MACOS_VERSION@</string>
        <key>OSBundleLibraries</key>
        <dict>
                <key>com.apple.kernel.bsd</key>
index a5334fe..8fbe490 100644 (file)
        <key>CFBundlePackageType</key>
        <string>KEXT</string>
        <key>CFBundleShortVersionString</key>
-       <string>1.5.25</string>
+       <string>@MACOS_VERSION@</string>
        <key>CFBundleSignature</key>
        <string>????</string>
        <key>CFBundleVersion</key>
-       <string>1.5.25</string>
+       <string>@MACOS_VERSION@</string>
        <key>OSBundleLibraries</key>
        <dict>
                <key>com.apple.kernel.bsd</key>
index eb48495..a138571 100644 (file)
        <key>CFBundlePackageType</key>
        <string>KEXT</string>
        <key>CFBundleShortVersionString</key>
-       <string>1.5.25</string>
+       <string>@MACOS_VERSION@</string>
        <key>CFBundleSignature</key>
        <string>????</string>
        <key>CFBundleVersion</key>
-       <string>1.5.25</string>
+       <string>@MACOS_VERSION@</string>
        <key>OSBundleLibraries</key>
        <dict>
                <key>com.apple.kpi.bsd</key>
index eb48495..a138571 100644 (file)
        <key>CFBundlePackageType</key>
        <string>KEXT</string>
        <key>CFBundleShortVersionString</key>
-       <string>1.5.25</string>
+       <string>@MACOS_VERSION@</string>
        <key>CFBundleSignature</key>
        <string>????</string>
        <key>CFBundleVersion</key>
-       <string>1.5.25</string>
+       <string>@MACOS_VERSION@</string>
        <key>OSBundleLibraries</key>
        <dict>
                <key>com.apple.kpi.bsd</key>
index eb48495..a138571 100644 (file)
        <key>CFBundlePackageType</key>
        <string>KEXT</string>
        <key>CFBundleShortVersionString</key>
-       <string>1.5.25</string>
+       <string>@MACOS_VERSION@</string>
        <key>CFBundleSignature</key>
        <string>????</string>
        <key>CFBundleVersion</key>
-       <string>1.5.25</string>
+       <string>@MACOS_VERSION@</string>
        <key>OSBundleLibraries</key>
        <dict>
                <key>com.apple.kpi.bsd</key>
index eb48495..a138571 100644 (file)
        <key>CFBundlePackageType</key>
        <string>KEXT</string>
        <key>CFBundleShortVersionString</key>
-       <string>1.5.25</string>
+       <string>@MACOS_VERSION@</string>
        <key>CFBundleSignature</key>
        <string>????</string>
        <key>CFBundleVersion</key>
-       <string>1.5.25</string>
+       <string>@MACOS_VERSION@</string>
        <key>OSBundleLibraries</key>
        <dict>
                <key>com.apple.kpi.bsd</key>
similarity index 94%
rename from src/packaging/MacOS/OpenAFS.Info.plist
rename to src/packaging/MacOS/OpenAFS.Info.plist.in
index 13878ed..bf97515 100644 (file)
@@ -3,13 +3,13 @@
 <plist version="1.0">
 <dict>
        <key>CFBundleGetInfoString</key>
-       <string>OpenAFS 1.5.25</string>
+       <string>OpenAFS @MACOS_VERSION@</string>
        <key>CFBundleIdentifier</key>
        <string>org.openafs.OpenAFS.pkg</string>
        <key>CFBundleName</key>
        <string>OpenAFS</string>
        <key>CFBundleShortVersionString</key>
-       <string>1.5.25</string>
+       <string>@MACOS_VERSION@</string>
        <key>IFMajorVersion</key>
        <integer>1</integer>
        <key>IFMinorVersion</key>
similarity index 95%
rename from src/packaging/MacOS/OpenAFS.info
rename to src/packaging/MacOS/OpenAFS.info.in
index abc9a85..2977252 100644 (file)
@@ -1,5 +1,5 @@
 Title OpenAFS
-Version 1.5.25
+Version @VERSION@
 Description The OpenAFS distributed filesystem. This package installs an almost-ready-to-run client for OpenAFS. see http://www.openafs.org for more information.
 DefaultLocation /
 Diskname (null)