From aa4c9f8df45a9a6881e0a90e50a7f1359ac5d1e1 Mon Sep 17 00:00:00 2001 From: Nick White Date: Wed, 30 Nov 2011 19:06:14 +0000 Subject: Make windows docs use windows line endings --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3