summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNick White <git@njw.me.uk>2012-08-27 18:25:56 +0100
committerNick White <git@njw.me.uk>2012-08-27 18:25:56 +0100
commitd46a243b44c84c0c99ab265a190f335cd7732c0c (patch)
tree12b678992996a4c47a08fbd88915cfc56aa505b0 /Makefile
parentd018a6fe229f8e0a3e5913baddd80ce19c476db9 (diff)
Tidy up getxbook on windows
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
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)