X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=Makefile;h=4e9dc64df87a2b9f4af8d41723e144e6f0b373f2;hb=1be28f936028856a38e3bce7c2d566d432120d44;hp=2273a8077807f395f0f6a77b1ca000cc96ed5835;hpb=db4ab6de30e095d6448fb826c2e6f0d4ac53cc7b;p=org.ibex.core.git diff --git a/Makefile b/Makefile index 2273a80..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" @@ -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 -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