summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick White <git@njw.me.uk>2011-11-30 19:06:14 +0000
committerNick White <git@njw.me.uk>2011-11-30 19:06:14 +0000
commitaa4c9f8df45a9a6881e0a90e50a7f1359ac5d1e1 (patch)
treed65336d998c789de738ece7f524ccabd2b834dfa
parent04ce48eb3364539a4472c4386870d506016a642e (diff)
Make windows docs use windows line endings
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 60a52bf..0e4580a 100644
--- a/Makefile
+++ b/Makefile
@@ -72,7 +72,8 @@ getxbookgui: getxbookgui.tcl
dist-win: $(BIN) $(GUI:.tcl=.exe)
mkdir -p $(NAME)-win
cp $(OBJ:.o=.exe) $(GUI:.tcl=.exe) $(NAME)-win
- for f in $(DOC); do cp $$f $(NAME)-win/$$f.txt; done
+ for f in LEGAL README COPYING; do \
+ sed 's/$$/\r/g' < $$f > $(NAME)-win/$$f.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