summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick White <git@njw.me.uk>2012-07-10 21:16:23 +0100
committerNick White <git@njw.me.uk>2012-07-10 21:16:23 +0100
commit95cb0fbdbdcea43000b811100886383b7be5616f (patch)
tree1cc7d528111595720c73942f0e8e7d2139b570d5
parent4e6b01857db64898a4619415543eefca771a527e (diff)
Format and package man pages for windows distribution
-rw-r--r--Makefile3
-rw-r--r--TODO2
2 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 12dd85b..c9cd3eb 100644
--- a/Makefile
+++ b/Makefile
@@ -91,6 +91,9 @@ dist-win: $(BIN) $(GUI:.tcl=.exe)
cp icons/* $(NAME)-win/icons/
for f in LEGAL README COPYING; do \
sed 's/$$/\r/g' < $$f > $(NAME)-win/$$f.txt; done
+ for f in *1; do \
+ b=`basename $$f .1`; \
+ groff -m man -T utf8 < $$f | col -bx | sed 's/$$/\r/g' > $(NAME)-win/$$b.txt; done
zip -j $(NAME)-$(VERSION)-win.zip $(NAME)-win/*
gpg -b < $(NAME)-$(VERSION)-win.zip > $(NAME)-$(VERSION)-win.zip.sig
rm -rf $(NAME)-win
diff --git a/TODO b/TODO
index d4b9297..cedbc53 100644
--- a/TODO
+++ b/TODO
@@ -1,7 +1,5 @@
# other todos
-format and package man pages in win packages
-
in getabook, the web client tries downloading sequentially the first few pages, regardless of whether they're in the available page list. this actually works (some or all of these pages will return), so we should implement something similar too. exactly how it knows when to stop looking is not clear, at least with the one i tried, it just tried all of the first 25 pages.
in getgbook, check that downloaded page doesn't match 'page not available' image; if so delete (as may be redownloadable later, perhaps even then with different cookies)