darwin-generate-module-version-from-version-string-20010712
authorChaskiel M Grundman <cg2v@andrew.cmu.edu>
Thu, 12 Jul 2001 20:00:33 +0000 (20:00 +0000)
committerDerrick Brashear <shadow@dementia.org>
Thu, 12 Jul 2001 20:00:33 +0000 (20:00 +0000)
generate darwin version string from the autoconf version for the module

Makefile.in
configure.in
src/afs/DARWIN/osi_module.c
src/afsd/afs.ppc_darwin.plist.in [moved from src/afsd/afs.ppc_darwin.plist with 93% similarity]

index 59f12bb..44a12dc 100644 (file)
@@ -517,7 +517,7 @@ distclean: clean
        /bin/rm -f config.log config.cache config.status Makefile
        /bin/rm -f src/config/afsconfig.h src/config/Makefile.${SYS_NAME} 
        /bin/rm -f src/libafs/Makefile src/libafs/MakefileProto.${MKAFS_OSTYPE}
-       /bin/rm -f src/libuafs/Makefile
+       /bin/rm -f src/libuafs/Makefile afs.ppc_darwin.plist src/pam/Makefile
 
 pristine: distclean
        /bin/rm -f src/config/afsconfig.h.in configure aclocal.m4
index b7ffb99..92c4751 100644 (file)
@@ -375,4 +375,5 @@ src/config/Makefile.version-NOCML \
 src/config/Makefile.${AFS_SYSNAME} \
 src/libafs/MakefileProto.${MKAFS_OSTYPE} \
 src/pam/Makefile \
+src/afsd/afs.ppc_darwin.plist \
 )
index 964d8ea..9141b58 100644 (file)
@@ -7,8 +7,6 @@ RCSID("$Header$");
 #include "../afs/afsincludes.h"
 #include "../sys/syscall.h"
 #include <mach/kmod.h>
-#define VERSION "1.0.3"
-
 
 struct vfsconf afs_vfsconf;
 extern struct vfsops afs_vfsops;
similarity index 93%
rename from src/afsd/afs.ppc_darwin.plist
rename to src/afsd/afs.ppc_darwin.plist.in
index c29e664..50e5e72 100644 (file)
        <key>CFBundlePackageType</key>
        <string>KEXT</string>
        <key>CFBundleShortVersionString</key>
-       <string>1.0.3</string>
+       <string>@VERSION@</string>
        <key>CFBundleSignature</key>
        <string>????</string>
        <key>CFBundleVersion</key>
-       <string>1.0.3</string>
+       <string>@VERSION@</string>
        <key>OSBundleLibraries</key>
        <dict>
                <key>com.apple.kernel.bsd</key>