From c68c64cf8839da7f175887684ba08362de02fd26 Mon Sep 17 00:00:00 2001 From: megacz Date: Fri, 30 Jan 2004 06:56:46 +0000 Subject: [PATCH] 2003/03/17 21:45:27 darcs-hash:20040130065646-2ba56-235f85f24e9a181cdb31569c312b52b77f25f036.gz --- Makefile | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/Makefile b/Makefile index d0454b0..c1fdeb4 100644 --- a/Makefile +++ b/Makefile @@ -97,6 +97,28 @@ update-build: cvs commit -m 'this comment should not appear in CHANGES' next.build CHANGES echo committed. +propose-patch: + @echo -n "Please type a one-line description of this bug: "; \ + read A; \ + echo; \ + echo "Please type any additional comments that explain this patch."; \ + echo "If this patch fixes a bug, include a link to bugs.xwt.org."; \ + echo "When you are done, press control-d on a new line."; \ + echo; \ + ( echo -e "HELO patcher"; \ + echo -e "MAIL FROM:$(USER)@xwt.org"; \ + echo -e "RCPT TO: patches@xwt.org"; \ + echo -e "DATA"; \ + echo -e "From: $(USER)@xwt.org"; \ + echo -e "To: patches@xwt.org"; \ + echo -e "Subject: proposed patch to $(this_branch): $$A"; \ + echo -e ""; \ + cat; \ + echo; \ + cvs diff -Bud; \ + echo .; \ + ) > .message + bash -c "cat .message > /dev/tcp/mail.xwt.org/25" # /dev/tcp is faked by bash; not part of the os ## GCJ-Derived Platforms ####################################################################### -- 1.7.10.4