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 +++++-- icons/getxbook.ico | Bin 0 -> 50934 bytes 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 icons/getxbook.ico 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) diff --git a/icons/getxbook.ico b/icons/getxbook.ico new file mode 100644 index 0000000..44303f7 Binary files /dev/null and b/icons/getxbook.ico differ -- cgit v1.2.3