aboutsummaryrefslogtreecommitdiff
path: root/packages/darwin_app/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'packages/darwin_app/Makefile')
-rw-r--r--packages/darwin_app/Makefile14
1 files changed, 10 insertions, 4 deletions
diff --git a/packages/darwin_app/Makefile b/packages/darwin_app/Makefile
index 3e6ad419..ab1b99e7 100644
--- a/packages/darwin_app/Makefile
+++ b/packages/darwin_app/Makefile
@@ -258,14 +258,20 @@ dmg:
-hdiutil detach "/Volumes/$(VOLUME_NAME)"
hdiutil attach build.dmg
install -p $(manualsdir)/Pd/ReadMe.html "/Volumes/$(VOLUME_NAME)"
- install -d "/Volumes/$(VOLUME_NAME)/.imagefolder"
# add link to /Applications for easy install
ln -s /Applications /Volumes/$(VOLUME_NAME)/Applications
-# background image will only show when the disk image is called "$(VOLUME_NAME)
-# the background image needs to be added to the .DS_Store to work
- install -p background.png "/Volumes/$(VOLUME_NAME)/.imagefolder/"
+# Install to .background for easier manual DS_Store makeing
+ install -d "/Volumes/$(VOLUME_NAME)/.background"
+# The full path to the background image needs to be added to .DS_Store to work
+# Hence the background image will only show when the disk image is called
+# "$(VOLUME_NAME)=Pd-extended - that is what the current DS_Store uses.
+# To create the DS_Store file one must... search the net.
+ install -p background.png "/Volumes/$(VOLUME_NAME)/.background/"
install -p DS_Store "/Volumes/$(VOLUME_NAME)/.DS_Store"
install -p VolumeIcon.icns "/Volumes/$(VOLUME_NAME)/.VolumeIcon.icns"
+# To enable the local image icon
+ /Developer/Tools/SetFile -a C /Volumes/$(VOLUME_NAME)/.VolumeIcon.icns \
+ /Volumes/$(VOLUME_NAME)
chmod -R a-w "/Volumes/$(VOLUME_NAME)/$(PD_APP_NAME).app/Contents/Resources/doc"
hdiutil detach `mount | grep $(VOLUME_NAME) | cut -d ' ' -f 1`
hdiutil convert -format UDZO -o "$(PACKAGE_NAME).dmg" build.dmg