fixed empty org/ibex/translators files
[org.ibex.core.git] / Makefile
index 2273a80..3e9ea9c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -258,5 +258,11 @@ dist: compile
        echo -e "\n\n\n*** DONE ******************************************"
 
 propose-patch:
-       darcs push -s -A $(USER)@xwt.org -T patches@xwt.org
+       @darcs push --and-apply --edit-description -o .darcspatch -T patches@xwt.org http://darcs.ibex.org/ibex/
+       @(echo "To: patches@xwt.org";\
+        SUB=`grep -A2 New.patches .darcspatch | tail -n 1 | cut -b 2-`;\
+        echo "Subject: $$SUB";\
+        echo;\
+        cat .darcspatch) | cat > /tmp/foo #/usr/sbin/sendmail -bm -f $(USER)@xwt.org patches@xwt.org;
+       @rm .darcspatch