Skip to content
Permalink
Browse files

Programmatically set Info.plist version info using the META file.

  • Loading branch information...
ilovezfs committed Dec 13, 2014
1 parent 6d6e636 commit 73ead71a49e2530ecfef8017b3552b37e11c65e4
Showing with 3 additions and 0 deletions.
  1. +3 −0 module/zfs/Makefile.am
@@ -166,6 +166,9 @@ zfs.kext$(EXEEXT): zfs $(PLIST_STRING) $(INFO_PLIST)
rm -rf zfs.kext
mkdir -p zfs.kext/Contents/Resources/English.lproj zfs.kext/Contents/MacOS
cp -f $(INFO_PLIST) zfs.kext/Contents/
/usr/libexec/PlistBuddy -c "Set :CFBundleVersion $(ZFS_META_VERSION)" zfs.kext/Contents/Info.plist
/usr/libexec/PlistBuddy -c "Set :CFBundleShortVersionString $(ZFS_META_VERSION)" zfs.kext/Contents/Info.plist
/usr/libexec/PlistBuddy -c "Set :OSBundleLibraries:net.lundman.spl $(ZFS_META_VERSION)" zfs.kext/Contents/Info.plist
cp -f $(PLIST_STRING) zfs.kext/Contents/Resources/English.lproj/
plutil -convert binary1 zfs.kext/Contents/Resources/English.lproj/InfoPlist.strings
cp -f $(top_srcdir)/VolumeIcon.icns zfs.kext/Contents/Resources/

0 comments on commit 73ead71

Please sign in to comment.
You can’t perform that action at this time.