--- misc/trunk/mac_package_builder/make-tar-file.sh 2015/06/14 15:13:44 2776 +++ misc/trunk/mac_package_builder/make-tar-file.sh 2015/07/02 20:06:11 2781 @@ -3,14 +3,15 @@ # This script is primarily made for the linuxsampler build server. It # copies the files created by the previous Max OS X build steps, and # creates universal binaries from the i686, x86_64 and powerpc -# files. Finally, it packs everything in a tar.bz2 archive. +# files. Then it packs all components as a .pkg Mac installer package and +# finally it wraps everything in a tar.bz2 archive. LIPO=x86_64-apple-darwin9-lipo P=/home/persson/mac D=linuxsampler_`date +%Y%m%d` # command line tools shipped with libgig -gigtools_bins="akaidump akaiextract dlsdump gig2mono gig2stereo gigdump gigextract gigmerge korg2gig korgdump rifftree sf2dump" +gigtools_bins="akaidump akaiextract dlsdump gig2mono gig2stereo gigdump gigextract gigmerge korg2gig korgdump rifftree sf2dump sf2extract" createuniv () { @@ -152,6 +153,11 @@ for f in $gigtools_bins; do cp $D/LinuxSampler/$f $dlib done +dlib="components/$component.pkg/share/man/man1" +mkdir -p $dlib +for f in $gigtools_bins; do + cp $P/i686/share/man/man1/$f.1 $dlib +done component="libgigedit" dlib="$PWD/components/$component.pkg/lib"