X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=Makefile;h=4e9dc64df87a2b9f4af8d41723e144e6f0b373f2;hb=57f0d69080cef7811a1eb3d4020b22e548be5dbf;hp=5f0b4db4d091954d7d698bc46656fb8d349d99c5;hpb=bda828d7a70ea0f2051a609b8194c2315a5b7105;p=org.ibex.core.git diff --git a/Makefile b/Makefile index 5f0b4db..4e9dc64 100644 --- a/Makefile +++ b/Makefile @@ -100,7 +100,7 @@ build/java/org/xwt/mips/%: build/class/org/ibex/translators/MIPSApps.class: build/mips/mipsapps.mips .jikes mkdir -p build/java/org/ibex/translators @echo -e "\n\033[1mtranslating .mips -> .java: $<\033[0m" - (echo -e 'package org.xwt.translators;\n'; \ + (echo -e 'package org.ibex.translators;\n'; \ java -Xint -cp upstream/mips/build org.xwt.mips.Compiler MIPSApps build/mips/mipsapps.mips) \ | sed 's,//.*$$,,;'| tr -d '\n' > build/java/org/ibex/translators/MIPSApps.java @echo -e "\n\033[1mcompiling .java -> .class: $<\033[0m" @@ -260,7 +260,9 @@ dist: compile propose-patch: @darcs push --and-apply --edit-description -o .darcspatch -T patches@xwt.org http://darcs.ibex.org/ibex/ @(echo "To: patches@xwt.org";\ - echo "Subject: "`grep -A2 \"New patches\" .darcspatch | tail -n 1 | cut -b 2-`;\ - cat .darcspatch) | /usr/sbin/sendmail -bm -f $(USER)@xwt.org patches@xwt.org + SUB=`grep -A10000 New.patches .darcspatch | grep '^\\[' | cut -b 2- | tr \\\n , | sed s_,_,\ _g | sed "s_, *\\$$__"`;\ + echo "Subject: $$SUB";\ + echo;\ + cat .darcspatch) | /usr/sbin/sendmail -bm -f $(USER)@xwt.org patches@xwt.org; @rm .darcspatch