Update of /cvsroot/pure-data/packages/darwin_app In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26019
Modified Files: Makefile Log Message: added to the clean targets so the clean more; fixed up chmod u-w on the doc dir so it should work on the auto-build
Index: Makefile =================================================================== RCS file: /cvsroot/pure-data/packages/darwin_app/Makefile,v retrieving revision 1.48 retrieving revision 1.49 diff -C2 -d -r1.48 -r1.49 *** Makefile 4 Aug 2006 17:38:56 -0000 1.48 --- Makefile 9 Aug 2006 23:24:25 -0000 1.49 *************** *** 225,241 **** # install -p -m0444 $(externals_src)/gem2pdp/*.pd_darwin $(objectsdir)
! ! darwin_app_perms: ! chmod -R a-w $(pddocdir)
package: dmg
DMG_NAME = $(PACKAGE_NAME) ! dmg: darwin_app_perms install -d "$(CWD)/$(DMG_NAME)" install -p -m0644 $(manualsdir)/Pd/ReadMe.html "$(CWD)/$(DMG_NAME)" - cd $(BUILD_BASE) && mv $(PD_APP_NAME).app "$(CWD)/$(DMG_NAME)/" install -p -m0644 org.puredata.pd.plist "$(CWD)/$(DMG_NAME)" cd $(CWD) && /bin/sh mkdmg "$(DMG_NAME)"
--- 225,256 ---- # install -p -m0444 $(externals_src)/gem2pdp/*.pd_darwin $(objectsdir)
! #==============================================================================# ! # ! ## PACKAGING ! # ! #==============================================================================#
package: dmg
DMG_NAME = $(PACKAGE_NAME) ! dmg: ! chmod -R a-w $(pddocdir) install -d "$(CWD)/$(DMG_NAME)" install -p -m0644 $(manualsdir)/Pd/ReadMe.html "$(CWD)/$(DMG_NAME)" install -p -m0644 org.puredata.pd.plist "$(CWD)/$(DMG_NAME)" + cd $(BUILD_BASE) && mv $(PD_APP_NAME).app "$(CWD)/$(DMG_NAME)/" cd $(CWD) && /bin/sh mkdmg "$(DMG_NAME)" + # reset user's write perm so that things can be removed easily + cd "$(CWD)/$(DMG_NAME)/" && mv $(PD_APP_NAME).app $(BUILD_BASE) + chmod -R u+w $(pddocdir) + + + + + #==============================================================================# + # + ## CLEAN TARGETS + # + #==============================================================================#
*************** *** 251,254 **** --- 266,271 ---- -rm -rf -- $(DESTDIR) -rm Info.plist + -rm -f -- "$(CWD)/$(DMG_NAME)/ReadMe.html" + -rm -f -- "$(CWD)/$(DMG_NAME)/org.puredata.pd.plistx"
devel_clean: darwin_app_devel_clean *************** *** 260,264 **** -rm -rf -- $(PD_APP_CONTENTS)/Frameworks -rm -f -- $(PD_APP_CONTENTS)/Plugins $(PD_APP_CONTENTS)/Info.plist ! -rm -f -- $(PD_APP_CONTENTS)/MacOS/Pd -rmdir $(PD_APP_CONTENTS)/MacOS -rm -f -- $(PD_APP_CONTENTS)/Resources/Scripts/AppMain.tcl --- 277,281 ---- -rm -rf -- $(PD_APP_CONTENTS)/Frameworks -rm -f -- $(PD_APP_CONTENTS)/Plugins $(PD_APP_CONTENTS)/Info.plist ! -rm -f -- "$(PD_APP_CONTENTS)/MacOS/$(PD_APP_NAME)" -rmdir $(PD_APP_CONTENTS)/MacOS -rm -f -- $(PD_APP_CONTENTS)/Resources/Scripts/AppMain.tcl *************** *** 266,273 **** -rm -f -- "$(PD_APP_CONTENTS)/Resources/$(WISH_NAME).rsrc" \ "$(PD_APP_CONTENTS)/Resources/pd*.icns" ! -rmdir $(PD_APP_CONTENTS)/Resources ! -rm -f -- $(DESTDIR) ! -rm -f -- *~ 1 $(README_FILE) $(WELCOME_FILE) $(LICENSE_FILE) \ ! $(UNIX_PACKAGE_NAME).pkg "$(DMG_NAME).dmg"
--- 283,305 ---- -rm -f -- "$(PD_APP_CONTENTS)/Resources/$(WISH_NAME).rsrc" \ "$(PD_APP_CONTENTS)/Resources/pd*.icns" ! -rmdir $(PD_APP_CONTENTS)/Resources ! -rmdir $(BUILD_BASE)/$(PD_APP_NAME).app/Contents ! -rmdir $(BUILD_BASE)/$(PD_APP_NAME).app ! -rmdir $(BUILD_BASE) ! -rm -f -- "$(DMG_NAME).dmg" ! -chmod -R u+w $(DMG_NAME)/$(PD_APP_NAME).app/Contents/Frameworks ! -rm -rf -- $(DMG_NAME)/$(PD_APP_NAME).app/Contents/Frameworks ! -rm -f -- $(DMG_NAME)/$(PD_APP_NAME).app/Contents/Plugins ! -rm -f -- $(DMG_NAME)/$(PD_APP_NAME).app/Contents/Info.plist ! -rm -f -- $(DMG_NAME)/$(PD_APP_NAME).app/Contents/MacOS/$(PD_APP_NAME) ! -rmdir $(DMG_NAME)/$(PD_APP_NAME).app/Contents/MacOS ! -rm -f -- $(DMG_NAME)/$(PD_APP_NAME).app/Contents/Resources/Scripts/AppMain.tcl ! -rmdir $(DMG_NAME)/$(PD_APP_NAME).app/Contents/Resources/Scripts ! -rm -f -- "$(DMG_NAME)/$(PD_APP_NAME).app/Contents/Resources/$(WISH_NAME).rsrc" \ ! "$(DMG_NAME)/$(PD_APP_NAME).app/Contents/Resources/pd*.icns" ! -rmdir $(DMG_NAME)/$(PD_APP_NAME).app/Contents/Resources ! -rmdir $(DMG_NAME)/$(PD_APP_NAME).app/Contents ! -rmdir $(DMG_NAME)/$(PD_APP_NAME).app ! -rmdir $(DMG_NAME)