From ba689997defb7be6c912934fe81d97465603415e Mon Sep 17 00:00:00 2001 From: Nick White Date: Wed, 3 Nov 2021 13:23:35 +0000 Subject: Update windows build config and add a basic guide to get it working --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b697fd2..90d1241 100644 --- a/Makefile +++ b/Makefile @@ -100,7 +100,7 @@ getxbookgui.exe: getxbookgui.tcl dist-win: $(BIN) $(GUI:.tcl=.exe) mkdir -p $(NAME)-win/tools cp $(GUI:.tcl=.exe) $(NAME)-win - for f in $(BIN); do cp $$f $(NAME)-win/tools/$$f.exe; done + for f in $(BIN); do cp $$f.exe $(NAME)-win/tools/$$f.exe; done mkdir -p $(NAME)-win/icons cp icons/* $(NAME)-win/icons/ for f in LEGAL README COPYING; do \ @@ -110,7 +110,6 @@ dist-win: $(BIN) $(GUI:.tcl=.exe) groff -m man -T utf8 < $$f | col -bx | sed 's/$$/\r/g' > $(NAME)-win/tools/$$b.txt; done mv $(NAME)-win/tools/getxbookgui.txt $(NAME)-win/ cd $(NAME)-win; zip -r ../$(NAME)-$(VERSION)-win.zip .;cd .. - gpg -b < $(NAME)-$(VERSION)-win.zip > $(NAME)-$(VERSION)-win.zip.sig rm -rf $(NAME)-win echo $(NAME)-$(VERSION)-win.zip $(NAME)-$(VERSION)-win.zip.sig -- cgit v1.2.3 From 16e4a02c794d61137b2f175e958d274eb464656b Mon Sep 17 00:00:00 2001 From: Nick White Date: Wed, 3 Nov 2021 13:42:37 +0000 Subject: Simplify windows build instructions and package up all windows dependencies into a tarball --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 90d1241..c659ba6 100644 --- a/Makefile +++ b/Makefile @@ -89,11 +89,11 @@ getxbookgui.exe: getxbookgui.tcl echo STARPACK $@ sed 's/ icons/ .. icons/' < getxbookgui.tcl > getxbookgui-win.tcl sed -i '/^\tset cmd / i set cmdbin [file join tools $$cmdbin]' getxbookgui-win.tcl - sdx qwrap getxbookgui-win.tcl getxbookgui - sdx unwrap getxbookgui.kit + $(SDX) qwrap getxbookgui-win.tcl getxbookgui + $(SDX) unwrap getxbookgui.kit cp -f getxbook.ico getxbookgui.vfs/tclkit.ico echo 'FileDescription "Book downloader"' > getxbookgui.vfs/tclkit.inf - sdx wrap $@ -runtime $(W32TCLKIT) + $(SDX) wrap $@ -runtime $(W32TCLKIT) rm -r getxbookgui-win.tcl getxbookgui.kit getxbookgui.vfs # needs config.mk set up to use mingw -- cgit v1.2.3