diff options
author | Nick White <git@njw.me.uk> | 2011-11-08 23:01:19 +0000 |
---|---|---|
committer | Nick White <git@njw.me.uk> | 2011-11-08 23:01:19 +0000 |
commit | 5ba1b587618ed09c169655f722bd72d9db82343b (patch) | |
tree | 400b3114bcb5a29e6d36d9848f1821e829119b78 | |
parent | fca6360e428cfd63c0d8f9fc30b83d27a611bf4a (diff) |
Add gui starpack build rule
-rw-r--r-- | Makefile | 9 | ||||
-rw-r--r-- | TODO | 4 | ||||
-rw-r--r-- | config.mk | 2 | ||||
-rwxr-xr-x | getxbookgui.tcl (renamed from getxbookgui) | 0 |
4 files changed, 12 insertions, 3 deletions
@@ -5,7 +5,7 @@ NAME = getxbook SRC = getgbook.c getabook.c LIB = util.o -GUI = getxbookgui +GUI = getxbookgui.tcl DOC = README COPYING INSTALL LEGAL EXTRAS = extras/mkpdf.sh extras/mkocrpdf.sh @@ -31,6 +31,13 @@ util.a: $(LIB) @$(AR) -r -c $@ $(LIB) @ranlib $@ +getxbookgui.exe: getxbookgui.tcl + @echo STARPACK $@ + @sdx qwrap getxbookgui.tcl + @sdx unwrap getxbookgui.kit + @sdx wrap $@ -runtime $(TCLKIT) + @rm -r getxbookgui.kit getxbookgui.vfs + install: all mkdir -p $(DESTDIR)$(PREFIX)/bin cp -f $(BIN) $(GUI) $(DESTDIR)$(PREFIX)/bin @@ -12,8 +12,6 @@ what happens if we receive not a http header? does recv loop forever, in a memor package for osx package for windows - have tcl as a starpack. have it always reference the executables in its directory, and we're golden. - http://www.digital-smarties.com/Tcl2002/tclkit.pdf use something smarter than update in gui to stop freezing @@ -25,3 +23,5 @@ create 'pad' file (like a stupid version of doap), to get windows shareware folk http://pad.asp-software.org/ http://padsites.asp-software.org/ http://pad.asp-software.org/repository/user/submit.php?Home=user + note that it must include all fields, with irrelevant ones being self-closed + (mostly there, needs cleaning and automating and self-closed crap) @@ -9,6 +9,8 @@ MANPREFIX = $(PREFIX)/share/man CFLAGS = -ansi -pedantic -Wall -Wextra -Werror -g -D_POSIX_C_SOURCE=200112L \ -DVERSION=\"$(VERSION)\" +TCLKIT = tclkit-8.5.9-win32.upx.exe + # musl static #CC = musl-gcc #LDFLAGS = -static #-s diff --git a/getxbookgui b/getxbookgui.tcl index 56b6e63..56b6e63 100755 --- a/getxbookgui +++ b/getxbookgui.tcl |