[PD-cvs] packages/darwin_app Makefile,1.55,1.56

Hans-Christoph Steiner eighthave at users.sourceforge.net
Sat Oct 21 06:55:41 CEST 2006


Update of /cvsroot/pure-data/packages/darwin_app
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28441/darwin_app

Modified Files:
	Makefile 
Log Message:
cleaned up version handling to make more sense; removed some obsolete chmods

Index: Makefile
===================================================================
RCS file: /cvsroot/pure-data/packages/darwin_app/Makefile,v
retrieving revision 1.55
retrieving revision 1.56
diff -C2 -d -r1.55 -r1.56
*** Makefile	29 Sep 2006 03:37:43 -0000	1.55
--- Makefile	21 Oct 2006 04:55:39 -0000	1.56
***************
*** 233,259 ****
  package: dmg
  
- DMG_NAME = $(PACKAGE_NAME)
  dmg: 
  	hdiutil create -format UDRW -fs HFS+ -srcfolder "$(BUILD_BASE)" \
! 		-volname $(DMG_NAME) build.dmg
  # detach one with the same name first
! 	-hdiutil detach "/Volumes/$(DMG_NAME)"
  	hdiutil attach build.dmg
! 	install -p $(manualsdir)/Pd/ReadMe.html "/Volumes/$(DMG_NAME)"
! 	install -p -m0644 org.puredata.pd.plist "/Volumes/$(DMG_NAME)"
! 	install -d "/Volumes/$(DMG_NAME)/.imagefolder"
  # 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/$(DMG_NAME)/.imagefolder/"
! 	install -p DS_Store "/Volumes/$(DMG_NAME)/.DS_Store"
! 	chmod -R a-w "/Volumes/$(DMG_NAME)/$(PD_APP_NAME).app/Contents/Resources/doc"
! 	hdiutil detach `mount | grep $(DMG_NAME) | cut -d ' ' -f 1`
! 	hdiutil convert -format UDZO -o "$(DMG_NAME).dmg" build.dmg
  	rm -f build.dmg
  # install license
! 	hdiutil unflatten "$(DMG_NAME).dmg"
  	/Developer/Tools/Rez /Developer/Headers/FlatCarbon/*.r SLA.r -a \
! 		-o "$(DMG_NAME).dmg"
! 	hdiutil flatten "$(DMG_NAME).dmg"
  
  
--- 233,258 ----
  package: dmg
  
  dmg: 
  	hdiutil create -format UDRW -fs HFS+ -srcfolder "$(BUILD_BASE)" \
! 		-volname $(PACKAGE_NAME) 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"
  # 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"
! 	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
  # install license
! 	hdiutil unflatten "$(PACKAGE_NAME).dmg"
  	/Developer/Tools/Rez /Developer/Headers/FlatCarbon/*.r SLA.r -a \
! 		-o "$(PACKAGE_NAME).dmg"
! 	hdiutil flatten "$(PACKAGE_NAME).dmg"
  
  
***************
*** 275,282 ****
  
  package_clean: darwin_app_clean
  	-rm -rf -- $(DESTDIR)
  	-rm Info.plist
! 	-rm -f -- "$(CWD)/$(DMG_NAME)/ReadMe.html"
! 	-rm -f -- "$(CWD)/$(DMG_NAME)/org.puredata.pd.plist"
  
  devel_clean: darwin_app_devel_clean
--- 274,282 ----
  
  package_clean: darwin_app_clean
+ 	-chmod -R u+w -- $(DESTDIR)
  	-rm -rf -- $(DESTDIR)
  	-rm Info.plist
! 	-rm -f -- "$(CWD)/$(PACKAGE_NAME)/ReadMe.html"
! 	-rm -f -- "$(CWD)/$(PACKAGE_NAME)/org.puredata.pd.plist"
  
  devel_clean: darwin_app_devel_clean
***************
*** 298,302 ****
  	-rmdir  $(BUILD_BASE)/$(PD_APP_NAME).app
  	-rmdir  $(BUILD_BASE)
! 	-rm -f -- "$(DMG_NAME).dmg"
  	-rm -f -- build.dmg
  
--- 298,302 ----
  	-rmdir  $(BUILD_BASE)/$(PD_APP_NAME).app
  	-rmdir  $(BUILD_BASE)
! 	-rm -f -- "$(PACKAGE_NAME).dmg"
  	-rm -f -- build.dmg
  
***************
*** 310,319 ****
  test_package:
  	echo "Bypassing test..."
! #	echo "Mounting $(DMG_NAME)"
  # this triggers the license prompt... hmm how to work around that...
! #	cd $(CWD) && hdiutil mount "$(DMG_NAME).dmg"
  # some better tests should go in here
! #	echo "Ejecting $(DMG_NAME)"
! #	cd $(CWD) && hdiutil eject `mount | grep "$(DMG_NAME)" | cut -d ' ' -f 1`
  
  
--- 310,319 ----
  test_package:
  	echo "Bypassing test..."
! #	echo "Mounting $(PACKAGE_NAME)"
  # this triggers the license prompt... hmm how to work around that...
! #	cd $(CWD) && hdiutil mount "$(PACKAGE_NAME).dmg"
  # some better tests should go in here
! #	echo "Ejecting $(PACKAGE_NAME)"
! #	cd $(CWD) && hdiutil eject `mount | grep "$(PACKAGE_NAME)" | cut -d ' ' -f 1`
  
  
***************
*** 322,326 ****
  	@echo "PD_VERSION: $(PD_VERSION)"
  	@echo "PACKAGE_NAME: $(PACKAGE_NAME)"
! 	@echo "PACKAGE_VERSION: $(PACKAGE_VERSION)"
  	@echo "WISH: $(WISH)"
  	@echo "TCLTK: $(TCLTK)"
--- 322,326 ----
  	@echo "PD_VERSION: $(PD_VERSION)"
  	@echo "PACKAGE_NAME: $(PACKAGE_NAME)"
! 	@echo "PD-EXTENDED_VERSION: $(PD-EXTENDED_VERSION)"
  	@echo "WISH: $(WISH)"
  	@echo "TCLTK: $(TCLTK)"





More information about the Pd-cvs mailing list