diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2007-05-17 02:41:50 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2007-05-17 02:41:50 +0000 |
commit | 786fceaa3845a1e90e3ba363c2c89f5c67a2669f (patch) | |
tree | 9a6e2a23f9df000d168317843297db6a2f264025 /packages/darwin_app/Makefile | |
parent | 33d9dedef78888a21f8b629db560ba0cf09a4210 (diff) |
attempts at adding some disk image dressing
svn path=/trunk/; revision=7676
Diffstat (limited to 'packages/darwin_app/Makefile')
-rw-r--r-- | packages/darwin_app/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/darwin_app/Makefile b/packages/darwin_app/Makefile index 263f7aa6..07eabe5f 100644 --- a/packages/darwin_app/Makefile +++ b/packages/darwin_app/Makefile @@ -256,7 +256,7 @@ package: dmg dmg: hdiutil create -format UDRW -fs HFS+ -srcfolder "$(BUILD_BASE)" \ - -volname $(PACKAGE_NAME) build.dmg + -volname Pd-extended build.dmg # detach one with the same name first -hdiutil detach "/Volumes/$(PACKAGE_NAME)" hdiutil attach build.dmg @@ -267,8 +267,9 @@ dmg: cd "/Volumes/$(PACKAGE_NAME)/" && ln -s /Applications # background image will only show when the disk image is called "Pd-extended # the background image needs to be added to the .DS_Store to work -# install -p background.png "/Volumes/$(PACKAGE_NAME)/.imagefolder/" + install -p background.png "/Volumes/$(PACKAGE_NAME)/.imagefolder/" install -p DS_Store "/Volumes/$(PACKAGE_NAME)/.DS_Store" + install -p VolumeIcon.icns "/Volumes/$(PACKAGE_NAME)/.VolumeIcon.icns" chmod -R a-w "/Volumes/$(PACKAGE_NAME)/$(PD_APP_NAME).app/Contents/Resources/doc" hdiutil detach `mount | grep $(PACKAGE_NAME) | cut -d ' ' -f 1` hdiutil convert -format UDZO -o "$(PACKAGE_NAME).dmg" build.dmg |