From d46a243b44c84c0c99ab265a190f335cd7732c0c Mon Sep 17 00:00:00 2001 From: Nick White Date: Mon, 27 Aug 2012 18:25:56 +0100 Subject: Tidy up getxbook on windows --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index adcf8a2..a85fc9f 100644 --- a/Makefile +++ b/Makefile @@ -77,10 +77,13 @@ dist-static: $(BIN) getxbookgui.exe: getxbookgui.tcl @echo STARPACK $@ - @sdx qwrap getxbookgui.tcl + @sed 's/\/icons/\/..\/icons/' < getxbookgui.tcl > getxbookgui-win.tcl + @sdx qwrap getxbookgui-win.tcl getxbookgui @sdx unwrap getxbookgui.kit + @cp -f icons/getxbook.ico getxbookgui.vfs/tclkit.ico + @echo 'FileDescription "Book downloader"' > getxbookgui.vfs/tclkit.inf @sdx wrap $@ -runtime $(W32TCLKIT) - @rm -r getxbookgui.kit getxbookgui.vfs + @rm -r getxbookgui-win.tcl getxbookgui.kit getxbookgui.vfs # needs config.mk set up to use mingw dist-win: $(BIN) $(GUI:.tcl=.exe) -- cgit v1.2.3