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 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') 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 -- cgit v1.2.3