From 95cb0fbdbdcea43000b811100886383b7be5616f Mon Sep 17 00:00:00 2001 From: Nick White Date: Tue, 10 Jul 2012 21:16:23 +0100 Subject: Format and package man pages for windows distribution --- Makefile | 3 +++ TODO | 2 -- 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) -- cgit v1.2.3