diff options
author | Steven Tamm <steventamm@mac.com> | 2003-01-01 00:27:01 +0000 |
---|---|---|
committer | Steven Tamm <steventamm@mac.com> | 2003-01-01 00:27:01 +0000 |
commit | 17f8fc449a1570c0ff81da17d215a6625d0c64be (patch) | |
tree | 13b35ef889865bcbe8dbade0354246fa6c34b3e2 /mac | |
parent | ded8a54259a264e0d814392f3e83aa2d990c72be (diff) | |
download | emacs-17f8fc449a1570c0ff81da17d215a6625d0c64be.tar.gz |
* make-package: Now copies License and ReadMe files into the
Resources directory. Reduces overhead size when creating
installer disk image
Diffstat (limited to 'mac')
-rw-r--r-- | mac/ChangeLog | 6 | ||||
-rwxr-xr-x | mac/make-package | 10 |
2 files changed, 13 insertions, 3 deletions
diff --git a/mac/ChangeLog b/mac/ChangeLog index 112a6ce4ae0..27f8d67d5b2 100644 --- a/mac/ChangeLog +++ b/mac/ChangeLog @@ -1,3 +1,9 @@ +2003-01-01 Steven Tamm <steventamm@mac.com> + + * make-package: Now copies License and ReadMe files into the + Resources directory. Reduces overhead size when creating + installer disk image + 2002-12-29 Steven Tamm <steventamm@mac.com> * make-package: Defaults to building the source tree in a diff --git a/mac/make-package b/mac/make-package index 3f02d42cf89..d6e0b66cc94 100755 --- a/mac/make-package +++ b/mac/make-package @@ -51,7 +51,7 @@ emapp=Emacs.app with_config=yes with_app=yes with_x=no -comp_diskimage=yes +comp_diskimage=no self_contained=no app_symlink=no full_dist=yes @@ -332,7 +332,11 @@ mkdir ${packagedir} mkdir ${packagedir}/Contents mkdir ${packagedir}/Contents/Resources mkdir ${packagedir}/Contents/Resources/English.lproj -echo 'pmkrpkg1' > ${packagedir}/Contents/PkgInfo +echo -n 'pmkrpkg1' > ${packagedir}/Contents/PkgInfo + +# Create ReadMe and License files +cp ${srcdir}/COPYING ${packagedir}/Contents/Resources/License.txt +cp ${srcdir}/mac/README ${packagedir}/Contents/Resources/ReadMe.txt infofile=${packagedir}/Contents/Resources/English.lproj/Emacs.info @@ -377,7 +381,7 @@ cat ${sizesfile} echo "Creating Disc Image" ## Allocate an extra 5000 sectors (about 2.5 mg) ## Note a sector appears to be 512k -sectorsAlloced=`echo 2*${compressedSize}+5000|bc` +sectorsAlloced=`echo 2*${compressedSize}+20|bc` hdiutil create -ov ${builddir}/mac/EmacsRW -sectors ${sectorsAlloced} ## Need to format the disc image before mounting mountLoc=`hdid -nomount ${builddir}/mac/EmacsRW.dmg | grep HFS | cut -f1` |