From f184baa88875efea3ae742cf1776e85ba152186b Mon Sep 17 00:00:00 2001 From: Nick White Date: Tue, 1 May 2012 00:46:30 +0100 Subject: Remove starpack on OSX make rules, as osx bundles tcl/tk --- Makefile | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 2871971..fe92e1a 100644 --- a/Makefile +++ b/Makefile @@ -68,13 +68,6 @@ getxbookgui.exe: getxbookgui.tcl @sdx wrap $@ -runtime $(W32TCLKIT) @rm -r getxbookgui.kit getxbookgui.vfs -getxbookgui: getxbookgui.tcl - @echo STARPACK $@ - @sdx qwrap getxbookgui.tcl - @sdx unwrap getxbookgui.kit - @sdx wrap $@ -runtime $(MACTCLKIT) - @rm -r getxbookgui.kit getxbookgui.vfs - # needs to be run from a mingw setup dist-win: $(BIN) $(GUI:.tcl=.exe) mkdir -p $(NAME)-win @@ -89,10 +82,11 @@ dist-win: $(BIN) $(GUI:.tcl=.exe) echo $(NAME)-$(VERSION)-win.zip $(NAME)-$(VERSION)-win.zip.sig # needs to be run from a mac -dist-mac: $(BIN) $(GUI:.tcl=) +dist-mac: $(BIN) $(GUI) mkdir -p $(NAME)-$(VERSION)/$(NAME).app/Contents/MacOS mkdir -p $(NAME)-$(VERSION)/$(NAME).app/Contents/Resources - cp $(BIN) $(GUI:.tcl=) $(NAME)-$(VERSION)/$(NAME).app/Contents/MacOS/ + cp $(BIN) $(NAME)-$(VERSION)/$(NAME).app/Contents/MacOS/ + cp $(GUI) $(NAME)-$(VERSION)/$(NAME).app/Contents/MacOS/$(GUI:.tcl=) for f in $(DOC); do cp $$f $(NAME)-$(VERSION)/$$f.txt; done echo 'CFBundlePackageTypeAPPL'"CFBundleExecutablegetxbookguiCFBundleVersion$(VERSION)CFBundleName$(NAME)" > $(NAME)-$(VERSION)/$(NAME).app/Contents/Info.plist hdiutil create -srcfolder $(NAME) $(NAME)-$(VERSION).dmg -- cgit v1.2.3