summaryrefslogtreecommitdiff
path: root/Makefile
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 /Makefile
parent4e6b01857db64898a4619415543eefca771a527e (diff)
Format and package man pages for windows distribution
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 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