[PD-cvs] packages/darwin_app Makefile,1.70,1.71
Hans-Christoph Steiner
eighthave at users.sourceforge.net
Thu May 17 17:57:15 CEST 2007
Update of /cvsroot/pure-data/packages/darwin_app
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14985
Modified Files:
Makefile
Log Message:
set the name of the mounted disk image to always be 'Pd-extended so that .DS_Store and other settings will work
Index: Makefile
===================================================================
RCS file: /cvsroot/pure-data/packages/darwin_app/Makefile,v
retrieving revision 1.70
retrieving revision 1.71
diff -C2 -d -r1.70 -r1.71
*** Makefile 17 May 2007 04:40:55 -0000 1.70
--- Makefile 17 May 2007 15:57:13 -0000 1.71
***************
*** 258,279 ****
package: dmg
dmg:
hdiutil create -format UDRW -fs HFS+ -srcfolder "$(BUILD_BASE)" \
! -volname Pd-extended build.dmg
# detach one with the same name first
! -hdiutil detach "/Volumes/$(PACKAGE_NAME)"
hdiutil attach build.dmg
! install -p $(manualsdir)/Pd/ReadMe.html "/Volumes/$(PACKAGE_NAME)"
! install -p -m0644 org.puredata.pd.plist "/Volumes/$(PACKAGE_NAME)"
! install -d "/Volumes/$(PACKAGE_NAME)/.imagefolder"
# add link to /Applications for easy install
! 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 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
rm -f build.dmg
--- 258,280 ----
package: dmg
+ VOLUME_NAME = Pd-extended
dmg:
hdiutil create -format UDRW -fs HFS+ -srcfolder "$(BUILD_BASE)" \
! -volname $(VOLUME_NAME) build.dmg
# detach one with the same name first
! -hdiutil detach "/Volumes/$(VOLUME_NAME)"
hdiutil attach build.dmg
! install -p $(manualsdir)/Pd/ReadMe.html "/Volumes/$(VOLUME_NAME)"
! install -p -m0644 org.puredata.pd.plist "/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 -p DS_Store "/Volumes/$(VOLUME_NAME)/.DS_Store"
! install -p VolumeIcon.icns "/Volumes/$(VOLUME_NAME)/.VolumeIcon.icns"
! 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
rm -f build.dmg
More information about the Pd-cvs
mailing list